about summary refs log tree commit diff
path: root/modules/virtualisation
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
commit28665411a5192b956c5c83a65c960547e506b914 (patch)
tree79ff7f0d167ec805f7b24d200e0bae44be782642 /modules/virtualisation
parentHome: Add libnotify package (diff)
downloadnixos-config-28665411a5192b956c5c83a65c960547e506b914.tar.gz
nixos-config-28665411a5192b956c5c83a65c960547e506b914.tar.bz2
nixos-config-28665411a5192b956c5c83a65c960547e506b914.zip
Module: Virtualisation: Replace docker with podman
Diffstat (limited to 'modules/virtualisation')
-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" ];
 }