infrastructure/machines/geo02/_hardware-configuration.nix

38 lines
879 B
Nix
Raw Normal View History

2024-02-20 17:57:38 +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.
{ lib, modulesPath, ... }:
{
imports = [ (modulesPath + "/installer/scan/not-detected.nix") ];
boot = {
initrd = {
availableKernelModules = [
"xhci_pci"
"ehci_pci"
"ahci"
"usb_storage"
"sd_mod"
];
};
kernelModules = [ "kvm-intel" ];
};
fileSystems = {
"/" = {
device = "/dev/disk/by-uuid/20d04582-222b-4e32-8744-619e19b0737c";
fsType = "ext4";
};
"/boot" = {
device = "/dev/disk/by-uuid/352A-2135";
fsType = "vfat";
};
};
swapDevices = [ { device = "/dev/disk/by-uuid/34db637d-5416-4ae1-98ef-3b0c5672159c"; } ];
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
}