2022-08-13 16:08:27 +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.
|
|
|
|
|
{
|
2024-08-18 22:22:59 +00:00
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
2023-01-28 21:27:52 +00:00
|
|
|
|
|
2024-08-18 22:22:59 +00:00
|
|
|
|
boot.initrd.availableKernelModules = ["xhci_pci" "ahci" "ehci_pci" "usbhid" "usb_storage" "uas" "sd_mod"];
|
2024-10-30 21:43:06 +00:00
|
|
|
|
boot.initrd.kernelModules = ["dm-snapshot"];
|
2024-08-18 22:22:59 +00:00
|
|
|
|
boot.kernelModules = ["kvm-amd"];
|
|
|
|
|
boot.extraModulePackages = [];
|
2023-01-28 21:27:52 +00:00
|
|
|
|
|
2024-06-02 18:19:44 +00:00
|
|
|
|
boot.initrd.luks.devices = {
|
|
|
|
|
"cryptroot" = {
|
2024-10-30 21:43:06 +00:00
|
|
|
|
device = "/dev/disk/by-uuid/08330ff9-581a-41e1-b8fa-757dc4c90b16";
|
2024-06-02 18:19:44 +00:00
|
|
|
|
allowDiscards = true;
|
|
|
|
|
};
|
2024-10-30 21:43:06 +00:00
|
|
|
|
"cryptdata".device = "/dev/disk/by-uuid/bc9f00ea-027e-409b-87c9-ab5628683378";
|
2024-02-04 00:05:28 +00:00
|
|
|
|
};
|
2024-02-03 19:58:18 +00:00
|
|
|
|
|
2024-08-18 22:22:59 +00:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "none";
|
|
|
|
|
fsType = "tmpfs";
|
|
|
|
|
};
|
2023-01-28 21:27:52 +00:00
|
|
|
|
|
2024-08-18 22:22:59 +00:00
|
|
|
|
fileSystems."/nix" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/837cc93f-6d9a-4bfd-b089-29ac6d68127c";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
neededForBoot = true;
|
|
|
|
|
};
|
2024-02-03 19:58:18 +00:00
|
|
|
|
|
2024-08-18 22:22:59 +00:00
|
|
|
|
fileSystems."/persist" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/a7711118-51b0-4d84-8f18-ef2e06084e05";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
neededForBoot = true;
|
|
|
|
|
};
|
2024-02-03 19:58:18 +00:00
|
|
|
|
|
2024-08-18 22:22:59 +00:00
|
|
|
|
fileSystems."/home" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/0965d496-ffad-4a8d-9de7-28af903baf16";
|
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2024-02-03 19:58:18 +00:00
|
|
|
|
|
2024-08-18 22:22:59 +00:00
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/991E-79C1";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
neededForBoot = true;
|
2024-10-30 21:43:06 +00:00
|
|
|
|
options = [ "fmask=0022" "dmask=0022" ];
|
2024-08-18 22:22:59 +00:00
|
|
|
|
};
|
2024-06-02 18:19:44 +00:00
|
|
|
|
|
2024-08-18 22:22:59 +00:00
|
|
|
|
fileSystems."/data" = {
|
2024-10-30 21:43:06 +00:00
|
|
|
|
device = "/dev/disk/by-uuid/391db8c4-5654-4a5c-a5c8-e34811f54786";
|
2024-08-18 22:22:59 +00:00
|
|
|
|
fsType = "ext4";
|
|
|
|
|
};
|
2024-02-03 19:58:18 +00:00
|
|
|
|
|
2024-08-18 22:22:59 +00:00
|
|
|
|
swapDevices = [
|
|
|
|
|
{device = "/dev/disk/by-uuid/0ef8dbbd-2832-4fb2-8a52-86682822f769";}
|
|
|
|
|
];
|
2022-08-13 16:08:27 +00:00
|
|
|
|
|
2024-02-03 19:58:18 +00:00
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2022-08-13 16:08:27 +00:00
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
}
|