feat(servers): setup podman on every server.
This commit is contained in:
parent
8c4e9f6641
commit
38f46152f8
2 changed files with 22 additions and 0 deletions
|
@ -4,5 +4,6 @@
|
|||
./user.nix
|
||||
./traefik.nix
|
||||
./secrets.nix
|
||||
./podman.nix
|
||||
];
|
||||
}
|
||||
|
|
21
modules/servers/general/podman.nix
Normal file
21
modules/servers/general/podman.nix
Normal 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
|
||||
];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue