diff options
author | Alan Pearce | 2024-04-19 18:13:33 +0200 |
---|---|---|
committer | Alan Pearce | 2024-04-19 18:13:33 +0200 |
commit | f7c0441e7ab6666a0a7c4c727b1c4feb47f74912 (patch) | |
tree | 8cf1cfed5f4bac453102e8a5c3107469bfed33cd /system/settings/programs | |
parent | 64ffd1553c9d9c4aa05634c1f4c9e3a41ae2ddd4 (diff) | |
download | nixfiles-f7c0441e7ab6666a0a7c4c727b1c4feb47f74912.tar.lz nixfiles-f7c0441e7ab6666a0a7c4c727b1c4feb47f74912.tar.zst nixfiles-f7c0441e7ab6666a0a7c4c727b1c4feb47f74912.zip |
docker: enable registry logins (incl. via skopeo)
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; |