os/hosts/chocolatebar/hardware-configuration.nix

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

39 lines
949 B
Nix
Raw Normal View History

2021-06-01 08:55:02 +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 21:27:52 +00:00
config,
lib,
pkgs,
modulesPath,
...
}: {
imports = [
(modulesPath + "/installer/scan/not-detected.nix")
];
2021-06-01 08:55:02 +00:00
2023-01-28 21:27:52 +00:00
boot.initrd.availableKernelModules = ["nvme" "xhci_pci" "ahci" "usbcore" "usbhid" "sd_mod"];
boot.initrd.kernelModules = ["dm-snapshot"];
boot.kernelModules = ["kvm-amd"];
boot.extraModulePackages = [];
2021-06-01 08:55:02 +00:00
2023-01-28 21:27:52 +00:00
fileSystems."/" = {
device = "/dev/disk/by-uuid/a3a74208-b244-4268-b374-e58265810fce";
fsType = "ext4";
};
2021-06-01 08:55:02 +00:00
boot.initrd.luks.devices."cryptroot".device = "/dev/disk/by-uuid/afcde41f-9811-4ac8-bb7b-a683844acc5c";
2023-01-28 21:27:52 +00:00
fileSystems."/boot" = {
device = "/dev/disk/by-uuid/12FD-62A8";
fsType = "vfat";
};
2021-06-01 08:55:02 +00:00
2022-04-30 21:07:18 +00:00
swapDevices = [
{
device = "/swapfile";
size = 68 * 1024; # 68 GB
}
];
2021-06-01 08:55:02 +00:00
}