summaryrefslogtreecommitdiff
path: root/systems/hermes/hardware.nix
diff options
context:
space:
mode:
authorLeonardo <noreply@leoflo.me>2026-03-11 16:34:05 +0100
committerLeonardo <noreply@leoflo.me>2026-03-11 16:34:05 +0100
commitafc597e552facff6c0103657d315775902709841 (patch)
tree75e411a8f5c57491b03f6057776df29ec3594487 /systems/hermes/hardware.nix
parenta7f0310e52a6d7dcfa0d11b7b3e683903ca41cd9 (diff)
downloadnixos-afc597e552facff6c0103657d315775902709841.tar.gz
nixos-afc597e552facff6c0103657d315775902709841.zip
gerarchia modificata (sono pazzo)
Diffstat (limited to 'systems/hermes/hardware.nix')
-rw-r--r--systems/hermes/hardware.nix24
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;
+}