tweaking and tidying

This commit is contained in:
serenity-F 2026-04-21 23:51:45 +10:00
parent b9e4db2a38
commit 260910529d
No known key found for this signature in database
10 changed files with 225 additions and 357 deletions

View file

@ -3,8 +3,8 @@
let
## Black magic wizardry from https://wiki.nixos.org/wiki/ZFS
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# Black magic wizardry from https://wiki.nixos.org/wiki/ZFS
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
zfsCompatibleKernelPackages = lib.filterAttrs (name: kernelPackages:
(builtins.match "linux_[0-9]+_[0-9]+" name) != null
&& (builtins.tryEval kernelPackages).success
@ -13,7 +13,7 @@ let
latestKernelPackage = lib.last
(lib.sort (a: b: (lib.versionOlder a.kernel.version b.kernel.version))
(builtins.attrValues zfsCompatibleKernelPackages));
## - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
# - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
in {
@ -27,7 +27,6 @@ in {
#forceImportRoot = false;
};
};
environment.systemPackages = with pkgs; [ zfs ];
networking = { hostId = "603b0c8b"; }; # Unsure why this is here actually ?
services = {