From 8282466524fa8e893978359fa629104f324ffb50 Mon Sep 17 00:00:00 2001 From: GaspardCulis Date: Tue, 1 Oct 2024 10:04:12 +0200 Subject: [PATCH] feat(Zephyrus): Added podman config --- hosts/Zephyrus/default.nix | 27 +++++++++++++++++++-------- 1 file changed, 19 insertions(+), 8 deletions(-) diff --git a/hosts/Zephyrus/default.nix b/hosts/Zephyrus/default.nix index 504d638..0edb754 100644 --- a/hosts/Zephyrus/default.nix +++ b/hosts/Zephyrus/default.nix @@ -41,14 +41,15 @@ services.power-profiles-daemon.enable = true; # Programs - environment.systemPackages = [ - pkgs.git - pkgs.wget - pkgs.ncdu - pkgs.neofetch - pkgs.bottom - pkgs.htop - pkgs.iwgtk + environment.systemPackages = with pkgs; [ + git + wget + ncdu + neofetch + bottom + htop + iwgtk + podman-compose ]; # NVIDIA @@ -78,6 +79,16 @@ }; }; + #Podman + virtualisation.containers.enable = true; + virtualisation = { + podman = { + enable = true; + # Required for containers under podman-compose to be able to talk to each other. + defaultNetwork.settings.dns_enabled = true; + }; + }; + # User config users.groups.gaspard = { name = "gaspard";