2023-07-03 22:35:58 +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.
|
2025-01-10 18:11:42 +01:00
|
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}:
|
2023-07-03 22:35:58 +02:00
|
|
|
|
|
2024-05-30 22:43:23 +02:00
|
|
|
|
{
|
2025-01-10 18:11:42 +01:00
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
2023-07-03 22:35:58 +02:00
|
|
|
|
|
2025-01-10 18:11:42 +01:00
|
|
|
|
boot.initrd.luks.devices."crypt_dev".device =
|
|
|
|
|
"/dev/disk/by-uuid/e10821b9-5426-4f03-b716-1645a64fcd6a";
|
2024-08-25 10:51:15 +02:00
|
|
|
|
boot.initrd.luks.devices."crypt_dev".allowDiscards = true;
|
2025-01-10 18:11:42 +01:00
|
|
|
|
boot.initrd.availableKernelModules = [
|
|
|
|
|
"nvme"
|
|
|
|
|
"ehci_pci"
|
|
|
|
|
"xhci_pci"
|
|
|
|
|
"uas"
|
|
|
|
|
"usb_storage"
|
|
|
|
|
"sd_mod"
|
|
|
|
|
"rtsx_pci_sdmmc"
|
|
|
|
|
];
|
2024-05-30 22:43:23 +02:00
|
|
|
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
2025-01-10 18:11:42 +01:00
|
|
|
|
boot.kernelModules = [
|
|
|
|
|
"kvm-amd"
|
|
|
|
|
"amd-gpu"
|
|
|
|
|
];
|
2024-05-30 22:43:23 +02:00
|
|
|
|
boot.extraModulePackages = [ ];
|
2023-07-03 22:35:58 +02:00
|
|
|
|
|
2025-01-10 18:11:42 +01:00
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/c461c971-54ca-4fb7-91e8-6ac70de53ef2";
|
|
|
|
|
fsType = "xfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/nix" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/eeaa6fab-d67d-400f-b6d4-b1f44c2e0047";
|
|
|
|
|
fsType = "xfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/home" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/aeaa71ca-a439-4ef3-9ab8-db7ae8f59376";
|
|
|
|
|
fsType = "xfs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/828E-F3C3";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
options = [
|
|
|
|
|
"fmask=0022"
|
|
|
|
|
"dmask=0022"
|
|
|
|
|
];
|
|
|
|
|
};
|
2023-07-03 22:35:58 +02:00
|
|
|
|
|
2024-05-30 22:43:23 +02:00
|
|
|
|
swapDevices = [ ];
|
2023-07-03 22:35:58 +02:00
|
|
|
|
|
2024-05-30 22:43:23 +02:00
|
|
|
|
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
2024-07-21 10:10:45 +02:00
|
|
|
|
hardware.cpu.amd.updateMicrocode = true;
|
|
|
|
|
hardware.enableRedistributableFirmware = true;
|
2023-07-03 22:35:58 +02:00
|
|
|
|
}
|