aboutsummaryrefslogtreecommitdiff
path: root/hosts/mantis
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/mantis')
-rw-r--r--hosts/mantis/hardware-configuration.nix18
1 files changed, 13 insertions, 5 deletions
diff --git a/hosts/mantis/hardware-configuration.nix b/hosts/mantis/hardware-configuration.nix
index 8d7f39a..6afcb08 100644
--- a/hosts/mantis/hardware-configuration.nix
+++ b/hosts/mantis/hardware-configuration.nix
@@ -5,7 +5,8 @@
5 5
6{ 6{
7 imports = 7 imports =
8 [ (modulesPath + "/installer/scan/not-detected.nix") 8 [
9 (modulesPath + "/installer/scan/not-detected.nix")
9 ]; 10 ];
10 11
11 boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; 12 boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ];
@@ -14,18 +15,25 @@
14 boot.extraModulePackages = [ ]; 15 boot.extraModulePackages = [ ];
15 16
16 fileSystems."/" = 17 fileSystems."/" =
17 { device = "/dev/disk/by-uuid/e3eda8a2-b5fe-4458-988c-48579a7cc6c6"; 18 {
19 device = "/dev/disk/by-uuid/e3eda8a2-b5fe-4458-988c-48579a7cc6c6";
20 fsType = "ext4";
21 };
22
23 fileSystems."/servarr" =
24 {
25 device = "/dev/sdb";
18 fsType = "ext4"; 26 fsType = "ext4";
19 }; 27 };
20 28
21 fileSystems."/boot" = 29 fileSystems."/boot" =
22 { device = "/dev/disk/by-uuid/A170-EC57"; 30 {
31 device = "/dev/disk/by-uuid/A170-EC57";
23 fsType = "vfat"; 32 fsType = "vfat";
24 }; 33 };
25 34
26 swapDevices = 35 swapDevices =
27 [ { device = "/dev/disk/by-uuid/61cb6a91-b916-40b9-b231-c04378629d90"; } 36 [{ device = "/dev/disk/by-uuid/61cb6a91-b916-40b9-b231-c04378629d90"; }];
28 ];
29 37
30 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking 38 # Enables DHCP on each ethernet and wireless interface. In case of scripted networking
31 # (the default) this is the recommended approach. When using systemd-networkd it's 39 # (the default) this is the recommended approach. When using systemd-networkd it's