From f7f351439ea31b5960a09263fec4e79e7b994da2 Mon Sep 17 00:00:00 2001 From: Akshay Date: Fri, 29 Mar 2024 15:35:26 +0000 Subject: mantis: add ext device --- hosts/mantis/hardware-configuration.nix | 18 +++++++++++++----- 1 file changed, 13 insertions(+), 5 deletions(-) (limited to 'hosts/mantis') 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 @@ { imports = - [ (modulesPath + "/installer/scan/not-detected.nix") + [ + (modulesPath + "/installer/scan/not-detected.nix") ]; boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "usbhid" "usb_storage" "sd_mod" ]; @@ -14,18 +15,25 @@ boot.extraModulePackages = [ ]; fileSystems."/" = - { device = "/dev/disk/by-uuid/e3eda8a2-b5fe-4458-988c-48579a7cc6c6"; + { + device = "/dev/disk/by-uuid/e3eda8a2-b5fe-4458-988c-48579a7cc6c6"; + fsType = "ext4"; + }; + + fileSystems."/servarr" = + { + device = "/dev/sdb"; fsType = "ext4"; }; fileSystems."/boot" = - { device = "/dev/disk/by-uuid/A170-EC57"; + { + device = "/dev/disk/by-uuid/A170-EC57"; fsType = "vfat"; }; swapDevices = - [ { device = "/dev/disk/by-uuid/61cb6a91-b916-40b9-b231-c04378629d90"; } - ]; + [{ device = "/dev/disk/by-uuid/61cb6a91-b916-40b9-b231-c04378629d90"; }]; # Enables DHCP on each ethernet and wireless interface. In case of scripted networking # (the default) this is the recommended approach. When using systemd-networkd it's -- cgit v1.2.3