nixos-config/hosts/terre-neuvas/hardware.nix

44 lines
1.1 KiB
Nix
Raw Permalink Normal View History

2025-09-05 09:59:31 +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.
{
2025-10-05 08:20:57 +02:00
config,
lib,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot = {
initrd.availableKernelModules = ["xhci_pci" "ahci" "usb_storage" "usbhid" "sd_mod"];
initrd.kernelModules = [];
kernelModules = lib.mkAfter ["kvm-intel" "tun"];
extraModulePackages = [];
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/f37e4afb-1ee2-4f70-a93c-398461405181";
2025-09-05 09:59:31 +02:00
fsType = "ext4";
};
2025-10-05 08:20:57 +02:00
"/boot" = {
device = "/dev/disk/by-uuid/111D-E5E8";
2025-09-05 09:59:31 +02:00
fsType = "vfat";
2025-10-05 08:20:57 +02:00
options = ["fmask=0077" "dmask=0077"];
2025-09-05 09:59:31 +02:00
};
2025-10-05 08:20:57 +02:00
"/srv" = {
device = "/dev/disk/by-uuid/2ef442a9-0eab-4dc5-b17c-076e18a54873";
2025-09-15 18:20:53 +02:00
fsType = "btrfs";
};
2025-10-05 08:20:57 +02:00
};
2025-09-15 18:20:53 +02:00
2025-10-05 08:20:57 +02:00
swapDevices = [
{device = "/dev/disk/by-uuid/c3a69154-ead9-4fcc-a9b1-3b741a42ee97";}
];
2025-09-05 09:59:31 +02:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}