feat(servers): setup podman on every server.

This commit is contained in:
CronyAkatsuki 2025-05-07 17:05:06 +02:00
parent 8c4e9f6641
commit 38f46152f8
2 changed files with 22 additions and 0 deletions

View File

@ -4,5 +4,6 @@
./user.nix
./traefik.nix
./secrets.nix
./podman.nix
];
}

View File

@ -0,0 +1,21 @@
{pkgs, ...}: {
virtualisation = {
podman = {
enable = true;
dockerCompat = true;
autoPrune = {
enable = true;
dates = "weekly";
flags = [
"--filter=until=24h"
"--filter=label!=important"
];
};
defaultNetwork.settings.dns.enable = true;
};
};
environment.systemPackages = with pkgs; [
podman-compose
podman-tui
];
}