From 5068dbdf4885cf0b016c94574630092c70a19a3c Mon Sep 17 00:00:00 2001 From: installer Date: Wed, 29 Jan 2025 15:42:10 -0600 Subject: [PATCH] Add docker and docker-compose support --- hosts/default/config.nix | 7 ++----- hosts/default/users.nix | 1 + hosts/nixstation/config.nix | 7 ++----- hosts/nixstation/users.nix | 1 + 4 files changed, 6 insertions(+), 10 deletions(-) diff --git a/hosts/default/config.nix b/hosts/default/config.nix index 560f3c3..630fb15 100644 --- a/hosts/default/config.nix +++ b/hosts/default/config.nix @@ -240,6 +240,7 @@ in vim wget killall + docker-compose eza git cmatrix @@ -454,11 +455,7 @@ in # Virtualization / Containers virtualisation.libvirtd.enable = true; - virtualisation.podman = { - enable = true; - dockerCompat = true; - defaultNetwork.settings.dns_enabled = true; - }; + virtualisation.docker.enable = true; # OpenGL hardware.graphics = { diff --git a/hosts/default/users.nix b/hosts/default/users.nix index 1cccd46..558ddc4 100644 --- a/hosts/default/users.nix +++ b/hosts/default/users.nix @@ -19,6 +19,7 @@ in "libvirtd" "scanner" "lp" + "docker" ]; shell = pkgs.bash; ignoreShellProgramCheck = true; diff --git a/hosts/nixstation/config.nix b/hosts/nixstation/config.nix index 955e6c1..650e9c9 100644 --- a/hosts/nixstation/config.nix +++ b/hosts/nixstation/config.nix @@ -240,6 +240,7 @@ in vim wget killall + docker-compose eza git cmatrix @@ -454,11 +455,7 @@ in # Virtualization / Containers virtualisation.libvirtd.enable = true; - virtualisation.podman = { - enable = true; - dockerCompat = true; - defaultNetwork.settings.dns_enabled = true; - }; + virtualisation.docker.enable = true; # OpenGL hardware.graphics = { diff --git a/hosts/nixstation/users.nix b/hosts/nixstation/users.nix index 1cccd46..558ddc4 100644 --- a/hosts/nixstation/users.nix +++ b/hosts/nixstation/users.nix @@ -19,6 +19,7 @@ in "libvirtd" "scanner" "lp" + "docker" ]; shell = pkgs.bash; ignoreShellProgramCheck = true;