diff options
| author | seth <[email protected]> | 2023-02-25 08:23:00 -0500 |
|---|---|---|
| committer | seth <[email protected]> | 2023-02-25 08:23:00 -0500 |
| commit | 7f97ad12f9808ffc4c088084d8e533757fbade63 (patch) | |
| tree | b83aa131d79ffb6fab83f59ecf85e929698d74bc /hosts/common | |
| parent | 509006801a6e8c484c6aff4accb59c154f7738e0 (diff) | |
add podman support
Diffstat (limited to 'hosts/common')
| -rw-r--r-- | hosts/common/virtualisation.nix | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/hosts/common/virtualisation.nix b/hosts/common/virtualisation.nix new file mode 100644 index 0000000..f78ca1d --- /dev/null +++ b/hosts/common/virtualisation.nix @@ -0,0 +1,11 @@ +{pkgs, ...}: { + virtualisation = { + podman = { + enable = true; + enableNvidia = true; + extraPackages = with pkgs; [podman-compose]; + autoPrune.enable = true; + }; + oci-containers.backend = "podman"; + }; +} |
