1
0
Fork 0
dotfiles/system/nixos/arion.nix

32 lines
554 B
Nix
Raw Normal View History

2022-07-30 17:49:04 +00:00
{ pkgs, ... }:
{
environment.systemPackages = [
pkgs.arion
];
2022-08-04 22:40:11 +00:00
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" ];
};
};
2022-07-30 18:27:33 +00:00
2022-08-04 22:40:11 +00:00
arion = {
backend = "docker";
};
2022-07-30 18:27:33 +00:00
};
2022-07-30 17:49:04 +00:00
}