diff options
Diffstat (limited to 'systems/hermes/hardware.nix')
| -rw-r--r-- | systems/hermes/hardware.nix | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/systems/hermes/hardware.nix b/systems/hermes/hardware.nix new file mode 100644 index 0000000..52ab29c --- /dev/null +++ b/systems/hermes/hardware.nix @@ -0,0 +1,24 @@ +{inputs, config, lib, modulesPath, ...}: { + imports = [ + (modulesPath + "/installer/scan/not-detected.nix") + inputs.nixos-hardware.nixosModules.lenovo-thinkpad-l14-intel + ]; + + fileSystems."/" = { + device = "/dev/disk/by-uuid/d2dbb171-8b65-4c40-9f09-d4e7b83f0094"; + fsType = "ext4"; + }; + + fileSystems."/boot" = { + device = "/dev/disk/by-uuid/ACC0-F37A"; + fsType = "vfat"; + options = [ "fmask=0077" "dmask=0077" ]; + }; + + swapDevices = [ + { device = "/dev/disk/by-uuid/d5e4b700-4eb2-4b19-8d7f-8a8e154a4df1"; } + ]; + + nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; + hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware; +} |
