1
0
Fork 0
dotfiles/system/nixos/arion.nix
2022-08-09 18:30:54 +02:00

31 lines
554 B
Nix

{ pkgs, ... }:
{
environment.systemPackages = [
pkgs.arion
];
virtualisation = {
docker = {
enable = true;
autoPrune.enable = true;
};
oci-containers = {
backend = "docker";
containers.watchtower = {
image = "containrrr/watchtower";
environment = {
WATCHTOWER_POLL_INTERVAL = "28800";
WATCHTOWER_LABEL_ENABLE = "true";
};
volumes = [ "/var/run/docker.sock:/var/run/docker.sock" ];
};
};
arion = {
backend = "docker";
};
};
}