From 8474eaeec6f6845c6fc69cf04c70d79416ff91de Mon Sep 17 00:00:00 2001 From: blahai Date: Thu, 31 Oct 2024 14:29:22 +0200 Subject: [PATCH] Nyx: prepare for zfs (need to wait for 6.12 so I can stay on lts) --- hosts/nyx/configuration.nix | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/hosts/nyx/configuration.nix b/hosts/nyx/configuration.nix index 414f310..be40c98 100644 --- a/hosts/nyx/configuration.nix +++ b/hosts/nyx/configuration.nix @@ -19,6 +19,11 @@ }; efi.canTouchEfiVariables = true; }; + # supportedFilesystems = [ "zfs" ]; + # zfs = { + # forceImportRoot = false; + # package = pkgs.zfs_unstable; + # }; kernelPackages = pkgs.linuxPackages_zen; kernel = { sysctl ={ @@ -35,6 +40,7 @@ networking = { hostName = "nyx"; + hostId = builtins.substring 0 8 (builtins.hashString "md5" config.networking.hostName); networkmanager.enable = true; stevenblack = { enable = true;