summaryrefslogtreecommitdiff
path: root/archetypes/profiles/zfs
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-04-11 18:33:20 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-04-11 18:33:20 -0500
commit9a40ac45f0e572a41f2f8f3d2f18c50338c9ddb2 (patch)
tree5eca399aef60a647708307cdc726aed22726fe45 /archetypes/profiles/zfs
parentca935461bc128bbeb82e4b3f5504a480c269dc0a (diff)
downloadnixos-9a40ac45f0e572a41f2f8f3d2f18c50338c9ddb2.tar.xz
nixos-9a40ac45f0e572a41f2f8f3d2f18c50338c9ddb2.zip
btrfs profile with autoscrubbing and move docker.storageDriver to the btrfs/zfs profiles
Diffstat (limited to 'archetypes/profiles/zfs')
-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) ];
}
-