diff options
author | Akshay <[email protected]> | 2024-08-26 11:41:50 +0100 |
---|---|---|
committer | Akshay <[email protected]> | 2024-08-26 11:41:50 +0100 |
commit | 5c68dbde55056cb8bd05c0ff862b6f2ed8336719 (patch) | |
tree | f2830f9f6483e89ba73d1725361a8a7006501b6c /hosts/mantis/hardware-configuration.nix | |
parent | e1358eef49165dad0b812ed4cfc9d0e9bcd76471 (diff) |
fmt
Diffstat (limited to 'hosts/mantis/hardware-configuration.nix')
-rw-r--r-- | hosts/mantis/hardware-configuration.nix | 12 |
1 files changed, 7 insertions, 5 deletions
diff --git a/hosts/mantis/hardware-configuration.nix b/hosts/mantis/hardware-configuration.nix index 3f04a4a..bebdb21 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" "nvme" "usbhid" "usb_storage" "sd_mod" ]; | 12 | boot.initrd.availableKernelModules = [ "xhci_pci" "ahci" "nvme" "usbhid" "usb_storage" "sd_mod" ]; |
@@ -14,19 +15,20 @@ | |||
14 | boot.extraModulePackages = [ ]; | 15 | boot.extraModulePackages = [ ]; |
15 | 16 | ||
16 | fileSystems."/" = | 17 | fileSystems."/" = |
17 | { device = "/dev/disk/by-uuid/efd94de4-c3fa-4a3b-98f9-66ccfb8479b9"; | 18 | { |
19 | device = "/dev/disk/by-uuid/efd94de4-c3fa-4a3b-98f9-66ccfb8479b9"; | ||
18 | fsType = "ext4"; | 20 | fsType = "ext4"; |
19 | }; | 21 | }; |
20 | 22 | ||
21 | fileSystems."/boot" = | 23 | fileSystems."/boot" = |
22 | { device = "/dev/disk/by-uuid/5BBB-E6FE"; | 24 | { |
25 | device = "/dev/disk/by-uuid/5BBB-E6FE"; | ||
23 | fsType = "vfat"; | 26 | fsType = "vfat"; |
24 | options = [ "fmask=0022" "dmask=0022" ]; | 27 | options = [ "fmask=0022" "dmask=0022" ]; |
25 | }; | 28 | }; |
26 | 29 | ||
27 | swapDevices = | 30 | swapDevices = |
28 | [ { device = "/dev/disk/by-uuid/65faea2e-c2ce-4ec2-8aca-e09e5073676b"; } | 31 | [{ device = "/dev/disk/by-uuid/65faea2e-c2ce-4ec2-8aca-e09e5073676b"; }]; |
29 | ]; | ||
30 | 32 | ||
31 | # 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 |
32 | # (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 |