diff options
| author | Fuwn <[email protected]> | 2024-09-25 05:49:28 -0700 |
|---|---|---|
| committer | Fuwn <[email protected]> | 2024-09-25 05:49:28 -0700 |
| commit | 1c3c38acdfb04e151bc9c5294e091167908435b2 (patch) | |
| tree | 86622b7195ede15c781357cf226844bccbd3a20d | |
| parent | modules: move networking hostname to hosts (diff) | |
| download | nixos-config-1c3c38acdfb04e151bc9c5294e091167908435b2.tar.xz nixos-config-1c3c38acdfb04e151bc9c5294e091167908435b2.zip | |
virtualisation: enable podman
| -rw-r--r-- | modules/desktop/virtualisation/default.nix | 1 | ||||
| -rw-r--r-- | modules/desktop/virtualisation/podman.nix | 13 |
2 files changed, 14 insertions, 0 deletions
diff --git a/modules/desktop/virtualisation/default.nix b/modules/desktop/virtualisation/default.nix index 97aa4b9..e776395 100644 --- a/modules/desktop/virtualisation/default.nix +++ b/modules/desktop/virtualisation/default.nix @@ -2,6 +2,7 @@ imports = [ ./docker.nix ./libvirtd.nix + ./podman.nix ./qemu.nix ]; diff --git a/modules/desktop/virtualisation/podman.nix b/modules/desktop/virtualisation/podman.nix new file mode 100644 index 0000000..7e8994c --- /dev/null +++ b/modules/desktop/virtualisation/podman.nix @@ -0,0 +1,13 @@ +{ lib, ... }: +{ + virtualisation.podman = { + enable = true; + enableNvidia = lib.mkForce true; + defaultNetwork.settings.dns_enabled = true; + + autoPrune = { + enable = true; + dates = "daily"; + }; + }; +} |