22 lines
421 B
Nix
22 lines
421 B
Nix
{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
|
|
];
|
|
}
|