diff options
-rw-r--r-- | modules/virtualisation/default.nix | 11 |
1 files changed, 7 insertions, 4 deletions
diff --git a/modules/virtualisation/default.nix b/modules/virtualisation/default.nix index c816490..1aa4cb2 100644 --- a/modules/virtualisation/default.nix +++ b/modules/virtualisation/default.nix @@ -2,9 +2,13 @@ { virtualisation = { - podman = { + docker = { enable = true; - dockerCompat = true; + storageDriver = "btrfs"; + rootless = { + enable = true; + setSocketVariable = true; + }; }; libvirtd.enable = true; virtualbox.host.enable = true; @@ -12,9 +16,8 @@ environment.systemPackages = with pkgs; [ docker-compose - podman-compose ]; - users.users.${user}.extraGroups = [ "libvirtd" ]; + users.users.${user}.extraGroups = [ "libvirtd" "docker" ]; users.extraGroups.vboxusers.members = [ "user-with-access-to-virtualbox" ]; } |