nixbld: continue zfs setup

This commit is contained in:
Sebastien Bourdeauducq 2020-07-26 22:21:31 +08:00
parent deaf3e9e75
commit d2f7181a1f
1 changed files with 7 additions and 1 deletions

View File

@ -27,7 +27,13 @@ in
boot.loader.systemd-boot.enable = true; boot.loader.systemd-boot.enable = true;
boot.loader.efi.canTouchEfiVariables = true; boot.loader.efi.canTouchEfiVariables = true;
boot.blacklistedKernelModules = ["iwlwifi"]; boot.blacklistedKernelModules = ["iwlwifi"];
boot.supportedFilesystems = [ "zfs" ]; boot.supportedFilesystems = ["zfs"];
services.zfs.autoScrub.enable = true;
fileSystems."/tank" = {
device = "tank";
fsType = "zfs";
};
security.apparmor.enable = true; security.apparmor.enable = true;