about summary refs log tree commit diff
path: root/modules/virtualisation/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/virtualisation/default.nix')
-rw-r--r--modules/virtualisation/default.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/virtualisation/default.nix b/modules/virtualisation/default.nix
new file mode 100644
index 0000000..c81b3d4
--- /dev/null
+++ b/modules/virtualisation/default.nix
@@ -0,0 +1,8 @@
+{ config, pkgs, ... }:
+
+{
+  virtualisation.docker.enable = true;
+  users.users.baitinq.extraGroups = [ "docker" ];
+
+  virtualisation.libvirtd.enable = true;
+}