nixos/machines/niczos/hardware-configuration.nix

57 lines
1.2 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
2026-09-25 07:34:34 +02:00
fileSystems."/home/zo/Downloads/from-firefox" = {
device = "none";
fsType = "tmpfs";
options = [
"size=1G"
"mode=700"
2026-09-25 07:34:34 +02:00
"noexec"
"uid=1000"
"gid=1000"
2026-09-25 07:34:34 +02:00
];
};
2026-05-28 11:30:05 +02:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}