From f6e600c20d6a97ebeda23fa2bb5621646222b2b0 Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sat, 2 Jan 2021 20:53:17 +0100 Subject: sif: import config --- hosts/sif/hw.nix | 36 ++++++++++++++++++++++++++++++++++++ 1 file changed, 36 insertions(+) create mode 100644 hosts/sif/hw.nix (limited to 'hosts/sif/hw.nix') 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 @@ +{ config, lib, pkgs, ... }: + +{ + fileSystems."/" = + { device = "/dev/disk/by-uuid/f094bf06-66f9-40a8-9ab2-2b54d05223d2"; + fsType = "btrfs"; + }; + + fileSystems."/boot" = + { device = "/dev/disk/by-uuid/B3A2-D029"; + fsType = "vfat"; + }; + + fileSystems."/home" = + { device = "/dev/disk/by-uuid/9e932072-3c56-4a9c-8da7-3163d2a8bf28"; + fsType = "btrfs"; + }; + + fileSystems."/var/media" = + { device = "/dev/disk/by-uuid/437eca70-d017-4d52-a1fa-2f4c7a87f096"; + fsType = "btrfs"; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/50f3f856-cc17-4614-846a-34a14d5006ec"; } + ]; + + nix.maxJobs = 12; + powerManagement.cpuFreqGovernor = "powersave"; + # High-DPI console + console.font = "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz"; + + hardware.cpu.intel.updateMicrocode = true; + + hardware.enableRedistributableFirmware = true; +} -- cgit v1.2.3