nixos/hardware-configuration-cyberia.nix

32 lines
967 B
Nix
Raw Normal View History

2026-03-03 20:15:25 +01: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.
{ config, lib, pkgs, modulesPath, ... }:
{
imports =
[ (modulesPath + "/installer/scan/not-detected.nix")
];
2026-03-06 19:06:32 +01:00
boot.initrd.availableKernelModules = [ "nvme" "ahci" "xhci_pci" "usbhid" "usb_storage" "sd_mod" ];
2026-03-03 20:15:25 +01:00
boot.initrd.kernelModules = [ ];
2026-03-06 19:06:32 +01:00
boot.kernelModules = [ "kvm-amd" ];
2026-03-03 20:15:25 +01:00
boot.extraModulePackages = [ ];
fileSystems."/" =
2026-03-06 19:06:32 +01:00
{ device = "/dev/disk/by-uuid/f1ed7012-39d5-4cac-8603-16767a3a3449";
2026-03-03 20:15:25 +01:00
fsType = "ext4";
};
fileSystems."/boot" =
2026-03-06 19:06:32 +01:00
{ device = "/dev/disk/by-uuid/E513-A53F";
2026-03-03 20:15:25 +01:00
fsType = "vfat";
options = [ "fmask=0077" "dmask=0077" ];
};
2026-03-06 19:06:32 +01:00
swapDevices = [ ];
2026-03-03 20:15:25 +01:00
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
2026-03-06 19:06:32 +01:00
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
2026-03-03 20:15:25 +01:00
}