summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorseth <[email protected]>2023-02-25 08:23:00 -0500
committerseth <[email protected]>2023-02-25 08:23:00 -0500
commit7f97ad12f9808ffc4c088084d8e533757fbade63 (patch)
treeb83aa131d79ffb6fab83f59ecf85e929698d74bc
parent509006801a6e8c484c6aff4accb59c154f7738e0 (diff)
add podman support
-rw-r--r--hosts/common/virtualisation.nix11
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";
+ };
+}