From a4bfec80b2db61e1f9dc4992c9a6c4803d6a4aac Mon Sep 17 00:00:00 2001 From: Lgmrszd Date: Fri, 28 Feb 2025 00:01:00 +0400 Subject: [PATCH] laptop: enable podman --- hosts/laptop/configuration.nix | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/hosts/laptop/configuration.nix b/hosts/laptop/configuration.nix index de879a4..78087f3 100644 --- a/hosts/laptop/configuration.nix +++ b/hosts/laptop/configuration.nix @@ -173,8 +173,18 @@ in programs.gamemode.enable = true; - # VirtualBox + # Virtualisation virtualisation.docker.enable = true; + + virtualisation.containers.enable = true; + virtualisation = { + podman = { + enable = true; + dockerCompat = false; + defaultNetwork.settings.dns_enabled = true; + }; + }; + virtualisation.waydroid.enable = true; virtualisation.virtualbox.host.enable = true; virtualisation.virtualbox.host.package = pkgs.virtualbox; @@ -319,7 +329,7 @@ in users.users.lgm = { isNormalUser = true; description = "lgm"; - extraGroups = [ "networkmanager" "wheel" "adbusers" "docker" "wireshark"]; + extraGroups = [ "networkmanager" "wheel" "adbusers" "docker" "podman" "wireshark"]; shell = pkgs.fish; };