mirror of
https://github.com/Gerg-L/nixos.git
synced 2025-12-10 00:43:56 -05:00
fix silent boot and remove extra zfs stuff
This commit is contained in:
parent
d493b989cd
commit
f872b7f9d2
2 changed files with 4 additions and 16 deletions
|
|
@ -32,15 +32,8 @@ _:
|
|||
};
|
||||
kernelPackages = config.boot.zfs.package.latestCompatibleLinuxPackages;
|
||||
#disable hibernate and set cache max
|
||||
kernelParams = [
|
||||
"nohibernate"
|
||||
"zfs.zfs_arc_max=17179869184"
|
||||
];
|
||||
kernelParams = [ "zfs.zfs_arc_max=17179869184" ];
|
||||
initrd = {
|
||||
supportedFilesystems = [
|
||||
"zfs"
|
||||
"vfat"
|
||||
];
|
||||
#module for multiple swap devices
|
||||
kernelModules = [ "dm_mod" ];
|
||||
#keyboard module for zfs password
|
||||
|
|
@ -92,10 +85,5 @@ _:
|
|||
};
|
||||
};
|
||||
};
|
||||
systemd.services.zfs-mount.enable = false;
|
||||
services.zfs = {
|
||||
autoScrub.enable = true;
|
||||
trim.enable = true;
|
||||
};
|
||||
_file = ./zfs.nix;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue