aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--system/default.nix1
-rw-r--r--system/virtualisation.nix10
2 files changed, 11 insertions, 0 deletions
diff --git a/system/default.nix b/system/default.nix
index 5022caf..bbeb009 100644
--- a/system/default.nix
+++ b/system/default.nix
@@ -11,6 +11,7 @@
./services.nix
./users.nix
./encryption.nix
+ ./virtualisation.nix
# Desktop and stylix are now configured per-rice in home/rices/*/system.nix
];
diff --git a/system/virtualisation.nix b/system/virtualisation.nix
new file mode 100644
index 0000000..8f76b0a
--- /dev/null
+++ b/system/virtualisation.nix
@@ -0,0 +1,10 @@
+{...}: {
+ virtualisation.docker = {
+ enable = true;
+ storageDriver = "btrfs";
+ rootless = {
+ enable = true;
+ setSocketVariable = true;
+ };
+ };
+}