diff options
Diffstat (limited to 'hosts/sif/hw.nix')
-rw-r--r-- | hosts/sif/hw.nix | 36 |
1 files changed, 36 insertions, 0 deletions
diff --git a/hosts/sif/hw.nix b/hosts/sif/hw.nix new file mode 100644 index 00000000..4a3e6c86 --- /dev/null +++ b/hosts/sif/hw.nix | |||
@@ -0,0 +1,36 @@ | |||
1 | { config, lib, pkgs, ... }: | ||
2 | |||
3 | { | ||
4 | fileSystems."/" = | ||
5 | { device = "/dev/disk/by-uuid/f094bf06-66f9-40a8-9ab2-2b54d05223d2"; | ||
6 | fsType = "btrfs"; | ||
7 | }; | ||
8 | |||
9 | fileSystems."/boot" = | ||
10 | { device = "/dev/disk/by-uuid/B3A2-D029"; | ||
11 | fsType = "vfat"; | ||
12 | }; | ||
13 | |||
14 | fileSystems."/home" = | ||
15 | { device = "/dev/disk/by-uuid/9e932072-3c56-4a9c-8da7-3163d2a8bf28"; | ||
16 | fsType = "btrfs"; | ||
17 | }; | ||
18 | |||
19 | fileSystems."/var/media" = | ||
20 | { device = "/dev/disk/by-uuid/437eca70-d017-4d52-a1fa-2f4c7a87f096"; | ||
21 | fsType = "btrfs"; | ||
22 | }; | ||
23 | |||
24 | swapDevices = | ||
25 | [ { device = "/dev/disk/by-uuid/50f3f856-cc17-4614-846a-34a14d5006ec"; } | ||
26 | ]; | ||
27 | |||
28 | nix.maxJobs = 12; | ||
29 | powerManagement.cpuFreqGovernor = "powersave"; | ||
30 | # High-DPI console | ||
31 | console.font = "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz"; | ||
32 | |||
33 | hardware.cpu.intel.updateMicrocode = true; | ||
34 | |||
35 | hardware.enableRedistributableFirmware = true; | ||
36 | } | ||