about summary refs log tree commit diff
diff options
context:
space:
mode:
authorBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-26 19:34:06 +0200
committerBaitinq <manuelpalenzuelamerino@gmail.com>2022-09-26 19:55:12 +0200
commite9c0a2c26bf782c3352ae2ee400555fb4be680eb (patch)
tree2ac00f125d70fed13eb1556bcd0edcace0832f50
parentHome: Add libnotify package (diff)
downloadnixos-config-e9c0a2c26bf782c3352ae2ee400555fb4be680eb.tar.gz
nixos-config-e9c0a2c26bf782c3352ae2ee400555fb4be680eb.tar.bz2
nixos-config-e9c0a2c26bf782c3352ae2ee400555fb4be680eb.zip
Module: Virtualisation: Replace docker with podman
-rw-r--r--modules/virtualisation/default.nix7
1 files changed, 5 insertions, 2 deletions
diff --git a/modules/virtualisation/default.nix b/modules/virtualisation/default.nix
index 73641fd..5ba8a64 100644
--- a/modules/virtualisation/default.nix
+++ b/modules/virtualisation/default.nix
@@ -2,11 +2,14 @@
 
 {
   virtualisation = {
-    docker.enable = true;
+    podman = {
+      enable = true;
+      dockerCompat = true;
+    };
     libvirtd.enable = true;
     virtualbox.host.enable = true;
   };
 
-  users.users.${user}.extraGroups = [ "docker" "libvirtd" ];
+  users.users.${user}.extraGroups = [ "libvirtd" ];
   users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ];
 }