nixos/hardware-configuration.nix

47 lines
1 KiB
Nix
Raw Normal View History

2026-05-28 11:30:05 +02:00
# Do not modify this file! It was generated by ‘nixos-generate-config’
# and may be overwritten by future invocations. Please make changes
# to /etc/nixos/configuration.nix instead.
2026-06-15 11:50:02 +02:00
{
config,
lib,
modulesPath,
...
}:
2026-05-28 11:30:05 +02:00
{
2026-06-15 11:50:02 +02:00
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
2026-05-28 11:30:05 +02:00
boot.kernelParams = [ "i915.modeset=1" ];
boot.kernelModules = [ "kvm-intel" ];
boot.blacklistedKernelModules = [ "nouveau" ];
boot.extraModulePackages = [ ];
fileSystems."/" = {
device = "/dev/mapper/safe";
fsType = "btrfs";
options = [ "subvol=os/nix" ];
};
fileSystems."/mnt/games" = {
device = "/dev/mapper/safe";
fsType = "btrfs";
2026-06-15 11:50:02 +02:00
options = [
"ssd"
"lazytime"
"subvol=game"
];
2026-05-28 11:30:05 +02:00
};
2026-06-15 11:50:02 +02:00
fileSystems."/boot/efi" = {
device = "/dev/disk/by-uuid/4FD7-458E";
fsType = "vfat";
};
2026-05-28 11:30:05 +02:00
swapDevices = [ ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}