nix/nixos/hosts/piaware-rpi4/docker.nix

18 lines
409 B
Nix
Raw Normal View History

2023-12-13 06:24:27 +01:00
{ pkgs, ... }: {
boot.kernel.sysctl = {
"fs.inotify.max_user_watches" = 10485760;
"fs.inotify.max_user_instances" = 1024;
};
virtualisation.docker = {
enable = true;
enableOnBoot = true;
autoPrune.enable = true;
autoPrune.dates = "weekly";
liveRestore = true;
};
networking.firewall.allowedTCPPorts = [
8080 30003 30005
];
2023-12-13 14:53:20 +01:00
}