fix: fully enable zfs

This commit is contained in:
Noah Masur 2023-02-26 13:23:31 +00:00
parent 640e447006
commit 13014e6cc1
2 changed files with 6 additions and 0 deletions

View File

@ -20,6 +20,10 @@ nixpkgs.lib.nixosSystem {
{
server = true;
zfs.enable = true;
# head -c 8 /etc/machine-id
networking.hostId = "600279f4"; # Random ID required for ZFS
gui.enable = false;
theme = { colors = (import ../../colorscheme/gruvbox).dark; };
nixpkgs.overlays = overlays;

View File

@ -8,6 +8,8 @@
# Only use compatible Linux kernel, since ZFS can be behind
boot.kernelPackages =
config.boot.zfs.package.latestCompatibleLinuxPackages;
boot.kernelParams = [ "nohibernate" ];
boot.supportedFilesystems = [ "zfs" ];
};