summaryrefslogtreecommitdiff
path: root/archetypes/profiles/zfs/default.nix
diff options
context:
space:
mode:
Diffstat (limited to 'archetypes/profiles/zfs/default.nix')
-rw-r--r--archetypes/profiles/zfs/default.nix4
1 files changed, 3 insertions, 1 deletions
diff --git a/archetypes/profiles/zfs/default.nix b/archetypes/profiles/zfs/default.nix
index 5fe63fe..a3ca2e1 100644
--- a/archetypes/profiles/zfs/default.nix
+++ b/archetypes/profiles/zfs/default.nix
@@ -13,10 +13,12 @@
autoSnapshot.enable = mkZfs true;
autoScrub.enable = mkZfs true;
};
+
+ # Make docker work with zfs
+ virtualisation.docker.storageDriver = mkZfs "zfs";
};
homeConfig = {};
in {
imports = [ (lib._mkProfileArchetype "zfs" nixosConfig homeConfig) ];
}
-