From 79fe0645a05bcf30640434b5314b45d1a21c724d Mon Sep 17 00:00:00 2001 From: coolneng Date: Tue, 6 Apr 2021 12:31:08 +0200 Subject: [PATCH] Add zpool to system --- modules/hardware-configuration.nix | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/modules/hardware-configuration.nix b/modules/hardware-configuration.nix index efadb8f..788673a 100644 --- a/modules/hardware-configuration.nix +++ b/modules/hardware-configuration.nix @@ -8,7 +8,7 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "usbhid" ]; + boot.initrd.availableKernelModules = [ "usb_storage" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ ]; boot.extraModulePackages = [ ]; @@ -18,6 +18,11 @@ fsType = "ext4"; }; + fileSystems."/shield/unit" = + { device = "shield/unit"; + fsType = "zfs"; + }; + swapDevices = [ ]; powerManagement.cpuFreqGovernor = lib.mkDefault "ondemand";