Migrate Pi-hole from Docker to Podman
This commit is contained in:
parent
fab9c6bb44
commit
5b67a48d80
3 changed files with 42 additions and 77 deletions
16
modules/mixins/podman.nix
Normal file
16
modules/mixins/podman.nix
Normal file
|
@ -0,0 +1,16 @@
|
|||
{
|
||||
virtualisation = {
|
||||
oci-containers.backend = "podman";
|
||||
|
||||
podman = {
|
||||
enable = true;
|
||||
|
||||
autoPrune = {
|
||||
enable = true;
|
||||
dates = "weekly";
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
users.users.opdavies.extraGroups = [ "podman" ];
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue