18 lines
353 B
Nix
18 lines
353 B
Nix
{ config, ... }:
|
|
{
|
|
boot = {
|
|
supportedFilesystems = {
|
|
ntfs = config.system.desktop.enable;
|
|
zfs = config.system.server.enable;
|
|
};
|
|
swraid = {
|
|
enable = config.system.server.enable;
|
|
mdadmConf = "MAILADDR contact@nixfox.ca";
|
|
};
|
|
};
|
|
|
|
services = {
|
|
btrfs.autoScrub.enable = true;
|
|
fstrim.enable = true;
|
|
};
|
|
}
|