os/hosts/dumpyourvms/hardware-configuration.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

47 lines
1,010 B
Nix
Raw Normal View History

2021-06-06 13:22:44 +00: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.
{
2023-01-28 20:49:10 +00:00
config,
lib,
pkgs,
modulesPath,
...
}:
{
imports = [
#(modulesPath + "/hardware/network/broadcom-43xx.nix")
(modulesPath + "/installer/scan/not-detected.nix")
];
2021-06-06 13:22:44 +00:00
2023-01-28 20:49:10 +00:00
boot.initrd.availableKernelModules = [
"xhci_pci"
"nvme"
"usbhid"
"usb_storage"
"sd_mod"
];
boot.initrd.kernelModules = [ ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
2021-06-06 13:22:44 +00:00
2023-01-28 20:49:10 +00:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/17bbb016-d27c-47da-8805-58c6395891e8";
fsType = "ext4";
};
2021-06-06 13:22:44 +00:00
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/c100b9a7-99d7-44d9-b7c2-3892a5f233c4";
2023-01-28 20:49:10 +00:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/06B8-5414";
fsType = "vfat";
};
2021-06-06 13:22:44 +00:00
swapDevices = [
{
device = "/swapfile";
size = 18432;
}
];
2021-06-06 13:22:44 +00:00
}