infrastructure/machines/compute01/_hardware-configuration.nix

35 lines
810 B
Nix
Raw Normal View History

2023-07-18 17:00: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.
{ modulesPath, ... }:
2023-07-18 17:00:31 +02:00
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
2023-07-18 17:00:31 +02:00
boot = {
initrd.availableKernelModules = [
"ahci"
"ehci_pci"
"megaraid_sas"
"usb_storage"
"usbhid"
"sd_mod"
"sr_mod"
];
kernelModules = [ "kvm-intel" ];
};
fileSystems."/" = {
device = "/dev/disk/by-uuid/c83f6978-fd26-44a8-a86a-b0e971bb0c8c";
fsType = "ext4";
};
2023-07-18 17:00:31 +02:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/55DB-056F";
fsType = "vfat";
};
2023-07-18 17:00:31 +02:00
swapDevices =
[{ device = "/dev/disk/by-uuid/30547280-00e9-4ee1-8a07-d116590d9fbf"; }];
}