diff options
| author | Franck Cuny <franck@fcuny.net> | 2025-10-09 19:32:59 -0700 |
|---|---|---|
| committer | Franck Cuny <franck@fcuny.net> | 2025-10-09 19:32:59 -0700 |
| commit | b52ce18fd8087884d19743f00c8f75c7050b465c (patch) | |
| tree | aede49c3cec48d378d4686e92dd18557cc5e484c /modules/nixos/podman.nix | |
| parent | import home-manager.nix and user.nix by default on nixos (diff) | |
| download | infra-b52ce18fd8087884d19743f00c8f75c7050b465c.tar.gz | |
configure podman for all nixos machines
Diffstat (limited to 'modules/nixos/podman.nix')
| -rw-r--r-- | modules/nixos/podman.nix | 13 |
1 files changed, 13 insertions, 0 deletions
diff --git a/modules/nixos/podman.nix b/modules/nixos/podman.nix new file mode 100644 index 0000000..bd5aa3c --- /dev/null +++ b/modules/nixos/podman.nix @@ -0,0 +1,13 @@ +{ + virtualisation.podman = { + enable = true; + dockerCompat = true; + autoPrune.enable = true; + autoPrune.flags = [ + "--all" + ]; + defaultNetwork.settings.dns_enabled = true; + }; + + virtualisation.oci-containers.backend = "podman"; +} |
