From 66f4ed1b1dfbeebcf920d3ed6e8e1ee6e98a8b92 Mon Sep 17 00:00:00 2001 From: Haak Saxberg Date: Tue, 9 Aug 2022 22:46:41 -0700 Subject: [PATCH] connect framework to svalbard --- nix/system/framework/hardware-configuration.nix | 17 ++++++++++++----- 1 file changed, 12 insertions(+), 5 deletions(-) diff --git a/nix/system/framework/hardware-configuration.nix b/nix/system/framework/hardware-configuration.nix index dba33be..6b718b2 100644 --- a/nix/system/framework/hardware-configuration.nix +++ b/nix/system/framework/hardware-configuration.nix @@ -5,7 +5,8 @@ { imports = - [ (modulesPath + "/installer/scan/not-detected.nix") + [ + (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "thunderbolt" "nvme" "usb_storage" "sd_mod" ]; @@ -14,18 +15,24 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/3c1098ea-7cfd-4285-9d26-6a5d121d1205"; + { + device = "/dev/disk/by-uuid/3c1098ea-7cfd-4285-9d26-6a5d121d1205"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/4904-4E9E"; + { + device = "/dev/disk/by-uuid/4904-4E9E"; fsType = "vfat"; }; + fileSystems."/storage" = { + device = "192.168.1.168:/storage"; + fsType = "nfs"; + }; + swapDevices = - [ { device = "/dev/disk/by-uuid/97c769a2-55da-475a-8dc0-d74d8bbde514"; } - ]; + [{ device = "/dev/disk/by-uuid/97c769a2-55da-475a-8dc0-d74d8bbde514"; }]; powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; # high-resolution display