updates, new laptop install

This commit is contained in:
2026-03-09 19:39:41 +00:00
parent 0ccb081963
commit 3cfba75a2f
11 changed files with 244 additions and 210 deletions
+6 -17
View File
@@ -14,31 +14,20 @@
boot.extraModulePackages = [ ];
fileSystems."/" =
{ device = "/dev/disk/by-uuid/c7704142-d0b9-4a85-af1c-ce776b895c0f";
fsType = "ext4";
};
fileSystems."/home" =
{ device = "/dev/disk/by-uuid/bf7180c8-72f0-483a-8306-821276eda3e5";
{ device = "/dev/disk/by-uuid/95c6d153-b238-430d-9755-58a38f6f7409";
fsType = "ext4";
};
fileSystems."/boot" =
{ device = "/dev/disk/by-uuid/E27A-231B";
{ device = "/dev/disk/by-uuid/3161-399E";
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
swapDevices = [ ];
# Enables DHCP on each ethernet and wireless interface. In case of scripted networking
# (the default) this is the recommended approach. When using systemd-networkd it's
# still possible to use this option, but it's recommended to use it in conjunction
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
networking.useDHCP = lib.mkDefault true;
# networking.interfaces.enp46s0.useDHCP = lib.mkDefault true;
# networking.interfaces.wlp0s20f3.useDHCP = lib.mkDefault true;
swapDevices =
[ { device = "/dev/disk/by-uuid/a3a8cbf0-066f-46f6-a5cd-e427428617e2"; }
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
}