Migrate Pi-hole from Docker to Podman

This commit is contained in:
Oliver Davies 2025-04-21 12:36:43 +01:00
parent fab9c6bb44
commit 5b67a48d80
3 changed files with 42 additions and 77 deletions

16
modules/mixins/podman.nix Normal file
View file

@ -0,0 +1,16 @@
{
virtualisation = {
oci-containers.backend = "podman";
podman = {
enable = true;
autoPrune = {
enable = true;
dates = "weekly";
};
};
};
users.users.opdavies.extraGroups = [ "podman" ];
}