diff options
Diffstat (limited to 'hosts/mantis/hardware-configuration.nix')
-rw-r--r-- | hosts/mantis/hardware-configuration.nix | 16 |
1 files changed, 5 insertions, 11 deletions
diff --git a/hosts/mantis/hardware-configuration.nix b/hosts/mantis/hardware-configuration.nix index 6afcb08..bebdb21 100644 --- a/hosts/mantis/hardware-configuration.nix +++ b/hosts/mantis/hardware-configuration.nix | |||
@@ -9,31 +9,26 @@ | |||
9 | (modulesPath + "/installer/scan/not-detected.nix") | 9 | (modulesPath + "/installer/scan/not-detected.nix") |
10 | ]; | 10 | ]; |
11 | 11 | ||
12 | boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; | 12 | boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; |
13 | boot.initrd.kernelModules = [ ]; | 13 | boot.initrd.kernelModules = [ ]; |
14 | boot.kernelModules = [ "kvm-intel" ]; | 14 | boot.kernelModules = [ "kvm-intel" ]; |
15 | boot.extraModulePackages = [ ]; | 15 | boot.extraModulePackages = [ ]; |
16 | 16 | ||
17 | fileSystems."/" = | 17 | fileSystems."/" = |
18 | { | 18 | { |
19 | device = "/dev/disk/by-uuid/e3eda8a2-b5fe-4458-988c-48579a7cc6c6"; | 19 | device = "/dev/disk/by-uuid/efd94de4-c3fa-4a3b-98f9-66ccfb8479b9"; |
20 | fsType = "ext4"; | ||
21 | }; | ||
22 | |||
23 | fileSystems."/servarr" = | ||
24 | { | ||
25 | device = "/dev/sdb"; | ||
26 | fsType = "ext4"; | 20 | fsType = "ext4"; |
27 | }; | 21 | }; |
28 | 22 | ||
29 | fileSystems."/boot" = | 23 | fileSystems."/boot" = |
30 | { | 24 | { |
31 | device = "/dev/disk/by-uuid/A170-EC57"; | 25 | device = "/dev/disk/by-uuid/5BBB-E6FE"; |
32 | fsType = "vfat"; | 26 | fsType = "vfat"; |
27 | options = [ "fmask=0022" "dmask=0022" ]; | ||
33 | }; | 28 | }; |
34 | 29 | ||
35 | swapDevices = | 30 | swapDevices = |
36 | [{ device = "/dev/disk/by-uuid/61cb6a91-b916-40b9-b231-c04378629d90"; }]; | 31 | [{ device = "/dev/disk/by-uuid/65faea2e-c2ce-4ec2-8aca-e09e5073676b"; }]; |
37 | 32 | ||
38 | # Enables DHCP on each ethernet and wireless interface. In case of scripted networking | 33 | # Enables DHCP on each ethernet and wireless interface. In case of scripted networking |
39 | # (the default) this is the recommended approach. When using systemd-networkd it's | 34 | # (the default) this is the recommended approach. When using systemd-networkd it's |
@@ -41,7 +36,6 @@ | |||
41 | # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. | 36 | # with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`. |
42 | networking.useDHCP = lib.mkDefault true; | 37 | networking.useDHCP = lib.mkDefault true; |
43 | # networking.interfaces.enp2s0.useDHCP = lib.mkDefault true; | 38 | # networking.interfaces.enp2s0.useDHCP = lib.mkDefault true; |
44 | # networking.interfaces.wlp3s0.useDHCP = lib.mkDefault true; | ||
45 | 39 | ||
46 | nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; | 40 | nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; |
47 | hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; | 41 | hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; |