Files
conf/hardware-configuration.nix
mtgmonkey 52e547c0a4 bak
2025-12-29 12:59:02 +01:00

49 lines
1.2 KiB
Nix
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
# 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.
{
config,
lib,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
boot.initrd.availableKernelModules = ["xhci_pci" "nvme" "usb_storage" "usbhid" "sd_mod" "sdhci_pci"];
boot.initrd.kernelModules = [];
boot.kernelModules = ["kvm-intel"];
boot.extraModulePackages = [];
fileSystems."/" = {
device = "none";
fsType = "tmpfs";
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";
fsType = "btrfs";
};
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/107D-CA99";
fsType = "vfat";
options = ["fmask=0077" "dmask=0077"];
};
swapDevices = [
{device = "/dev/disk/by-uuid/18c2ef9b-1568-41e4-b67a-96155822ae02";}
];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
hardware.cpu.intel.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
}