summaryrefslogtreecommitdiff
path: root/archetypes/profiles
diff options
context:
space:
mode:
authorTim Keller <tjk@tjkeller.xyz>2026-09-15 15:37:10 -0500
committerTim Keller <tjk@tjkeller.xyz>2026-09-15 15:37:10 -0500
commitd2f1ca11963edc6bbe0ee2568d90db3da818a965 (patch)
treeb587d014cb180262e2ba64ef258cdd77f6ad1e60 /archetypes/profiles
parent743285cabecff36af1c689ecad2650235b755b64 (diff)
downloadnixos-d2f1ca11963edc6bbe0ee2568d90db3da818a965.tar.xz
nixos-d2f1ca11963edc6bbe0ee2568d90db3da818a965.zip
use overlay2 driver instead of zfs driver for docker on zfs
Diffstat (limited to 'archetypes/profiles')
-rw-r--r--archetypes/profiles/zfs/default.nix4
1 files changed, 2 insertions, 2 deletions
diff --git a/archetypes/profiles/zfs/default.nix b/archetypes/profiles/zfs/default.nix
index 00f3c0b..90ec5ee 100644
--- a/archetypes/profiles/zfs/default.nix
+++ b/archetypes/profiles/zfs/default.nix
@@ -16,8 +16,8 @@
autoScrub.enable = mkZfs true;
};
- # Make docker work with zfs
- virtualisation.docker.storageDriver = mkZfs "zfs";
+ # Use overlay2 driver for zfs to avoid creating unnecessary datasets
+ virtualisation.docker.storageDriver = mkZfs "overlay2";
# Ensure root pools are safely imported (default after 26.11)
# NOTE: If NixOS fails to boot because it cannot import the root pool,