Use zfs storage driver for docker when using zfs
This commit is contained in:
parent
6a1d655fe6
commit
7c48e6052a
1 changed files with 2 additions and 0 deletions
|
@ -41,6 +41,8 @@ in
|
|||
'';
|
||||
};
|
||||
|
||||
config.virtualisation.docker.storageDriver = lib.mkIf config.custom.zfs.enable "zfs";
|
||||
|
||||
config.services.zfs.autoScrub.enable = config.custom.zfs.enable;
|
||||
config.services.zfs.trim.enable = config.custom.zfs.enable;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue