diff --git a/hosts/tungsten/hardware-configuration.nix b/hosts/tungsten/hardware-configuration.nix index ccf37e5..3d8d886 100644 --- a/hosts/tungsten/hardware-configuration.nix +++ b/hosts/tungsten/hardware-configuration.nix @@ -8,7 +8,7 @@ [ (modulesPath + "/installer/scan/not-detected.nix") ]; - boot.initrd.availableKernelModules = [ "ahci" "ohci_pci" "ehci_pci" "usb_storage" "usbhid" "sd_mod" ]; + boot.initrd.availableKernelModules = [ "ahci" "ohci_pci" "ehci_pci" "usbhid" "sd_mod" ]; boot.initrd.kernelModules = [ ]; boot.kernelModules = [ "kvm-amd" ]; boot.extraModulePackages = [ ]; @@ -25,6 +25,13 @@ fsType = "ext4"; }; + fileSystems."/mnt/storage-tungsten" = + { device = "/dev/disk/by-uuid/3d386e15-9d64-42a6-8d6d-571272d5e78e"; + fsType = "ext4"; + }; + + boot.initrd.luks.devices."crypt-storage-tungsten".device = "/dev/disk/by-uuid/e4142245-4c69-42e6-9b1f-fa4dc7fef7d8"; + swapDevices = [ ]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking