summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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";
+ };
+}