From e388626945519c0d5c728c84b95710b89430ccff Mon Sep 17 00:00:00 2001 From: Gregor Kleen Date: Sun, 10 Nov 2019 16:04:33 +0100 Subject: Add sif --- sif/hw.nix | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 sif/hw.nix (limited to 'sif/hw.nix') diff --git a/sif/hw.nix b/sif/hw.nix new file mode 100644 index 00000000..17293c90 --- /dev/null +++ b/sif/hw.nix @@ -0,0 +1,33 @@ +{ config, lib, pkgs, ... }: + +{ + imports = + [ + ]; + + 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"; + }; + + swapDevices = + [ { device = "/dev/disk/by-uuid/50f3f856-cc17-4614-846a-34a14d5006ec"; } + ]; + + nix.maxJobs = lib.mkDefault 12; + powerManagement.cpuFreqGovernor = lib.mkDefault "powersave"; + # High-DPI console + i18n.consoleFont = lib.mkDefault "${pkgs.terminus_font}/share/consolefonts/ter-u28n.psf.gz"; + + hardware.cpu.intel.updateMicrocode = true; +} -- cgit v1.2.3