Nyx: prepare for zfs (need to wait for 6.12 so I can stay on lts)

This commit is contained in:
blahai 2024-10-31 14:29:22 +02:00
parent f9314f93b3
commit 8474eaeec6
Signed by: blahai
SSH key fingerprint: SHA256:ZfCryi+V64yG+vC1ZIIsqgvBCmA31tTi7RJ6M8CvpRc

View file

@ -19,6 +19,11 @@
}; };
efi.canTouchEfiVariables = true; efi.canTouchEfiVariables = true;
}; };
# supportedFilesystems = [ "zfs" ];
# zfs = {
# forceImportRoot = false;
# package = pkgs.zfs_unstable;
# };
kernelPackages = pkgs.linuxPackages_zen; kernelPackages = pkgs.linuxPackages_zen;
kernel = { kernel = {
sysctl ={ sysctl ={
@ -35,6 +40,7 @@
networking = { networking = {
hostName = "nyx"; hostName = "nyx";
hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName);
networkmanager.enable = true; networkmanager.enable = true;
stevenblack = { stevenblack = {
enable = true; enable = true;