summaryrefslogtreecommitdiff
path: root/hardware-configuration.nix
diff options
context:
space:
mode:
authorandromeda <andromeda@lenovo>2025-12-30 00:25:06 +0100
committerandromeda <andromeda@lenovo>2025-12-30 00:27:14 +0100
commita7c4b7dcd1f5d221b976fc65b6f82e501f87738d (patch)
tree77006f72d6431bee0e825fc1e62de3286890b53b /hardware-configuration.nix
parent52e547c0a4569c76984423ba118f0c5554b6a012 (diff)
parentabab971ba65b74ba4928c674c96244da8d9ef92b (diff)
works
Diffstat (limited to 'hardware-configuration.nix')
-rw-r--r--hardware-configuration.nix19
1 files changed, 6 insertions, 13 deletions
diff --git a/hardware-configuration.nix b/hardware-configuration.nix
index dad7ef5..2c0a93f 100644
--- a/hardware-configuration.nix
+++ b/hardware-configuration.nix
@@ -4,6 +4,7 @@
{
config,
lib,
+ pkgs,
modulesPath,
...
}: {
@@ -11,7 +12,7 @@
(modulesPath + "/installer/scan/not-detected.nix")
];
- boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" "sdhci_pci"];
+ boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "sdhci_pci"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
@@ -22,26 +23,18 @@
options = ["defaults" "size=25%" "mode=755"];
};
- fileSystems."/persist" = {
- device = "/dev/disk/by-label/NIXPERSIST";
- neededForBoot = true;
- fsType = "btrfs";
- };
-
fileSystems."/nix" = {
- device = "/dev/disk/by-label/NIXSTORE";
+ device = "/dev/disk/by-uuid/0e586651-36f4-42b0-99b3-3f0704a894d6";
fsType = "btrfs";
};
fileSystems."/boot" = {
- device = "/dev/disk/by-uuid/107D-CA99";
+ device = "/dev/disk/by-uuid/F425-55BA";
fsType = "vfat";
- options = ["fmask=0077" "dmask=0077"];
+ options = ["fmask=0022" "dmask=0022"];
};
- swapDevices = [
- {device = "/dev/disk/by-uuid/18c2ef9b-1568-41e4-b67a-96155822ae02";}
- ];
+ swapDevices = [];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;