diff options
Diffstat (limited to 'system/settings/programs')
-rw-r--r-- | system/settings/programs/docker.nix | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/system/settings/programs/docker.nix b/system/settings/programs/docker.nix index d7c6a88e..88238726 100644 --- a/system/settings/programs/docker.nix +++ b/system/settings/programs/docker.nix @@ -1,4 +1,7 @@ -{ ... }: { +{ pkgs, ... }: { + virtualisation.containers = { + enable = true; + }; virtualisation.docker = { enable = false; storageDriver = "overlay2"; @@ -15,6 +18,9 @@ }; }; }; + environment.systemPackages = with pkgs; [ + docker-credential-helpers + ]; # TODO: autoPrune doesn't affect rootless # systemd.timers.docker-prune.timerConfig = { # Persistent = true; |