infrastructure/machines/nixos/vault01/_hardware-configuration.nix

40 lines
898 B
Nix
Raw Normal View History

2024-01-10 15:00:18 +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.
{ modulesPath, ... }:
2024-01-10 15:00:18 +01:00
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot = {
initrd = {
availableKernelModules = [
"xhci_pci"
"megaraid_sas"
"ehci_pci"
"ahci"
"usb_storage"
"sd_mod"
];
2024-01-10 15:00:18 +01:00
kernelModules = [ ];
};
kernelModules = [ "kvm-amd" ];
extraModulePackages = [ ];
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/cfa2a9fd-f053-42ce-9d9a-65cdd773272d";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/33AE-7115";
fsType = "vfat";
};
};
swapDevices = [ { device = "/dev/disk/by-uuid/954ecb9c-ccd1-4e98-9eb6-3514bd3c01d1"; } ];
2024-01-10 15:00:18 +01:00
}