docker: enable registry logins (incl. via skopeo)
Alan Pearce alan@alanpearce.eu
Fri, 19 Apr 2024 18:13:33 +0200
1 files changed, 7 insertions(+), 1 deletions(-)
M system/settings/programs/docker.nix → 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;