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.
|
|
|
|
|
{
|
|
|
|
|
config,
|
|
|
|
|
lib,
|
|
|
|
|
pkgs,
|
|
|
|
|
modulesPath,
|
|
|
|
|
...
|
|
|
|
|
}: {
|
|
|
|
|
imports = [
|
|
|
|
|
(modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = ["nvme" "ehci_pci" "xhci_pci" "usb_storage" "sd_mod" "rtsx_pci_sdmmc"];
|
|
|
|
|
boot.initrd.kernelModules = [];
|
|
|
|
|
boot.kernelModules = ["kvm-amd" "amdgpu"];
|
|
|
|
|
boot.extraModulePackages = [];
|
|
|
|
|
|
|
|
|
|
fileSystems."/" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/f06ac545-07c1-4b2b-8c0b-eeac43892933";
|
|
|
|
|
fsType = "btrfs";
|
2023-09-20 19:43:53 +02:00
|
|
|
|
options = ["subvol=root" "compress=lzo" "noatime"];
|
2023-07-03 22:35:58 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
boot.initrd.luks.devices."sys_enc".device = "/dev/disk/by-uuid/682d030d-189e-4b47-a60a-62cf1f3729d3";
|
|
|
|
|
|
|
|
|
|
fileSystems."/home" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/f06ac545-07c1-4b2b-8c0b-eeac43892933";
|
|
|
|
|
fsType = "btrfs";
|
2023-09-20 19:43:53 +02:00
|
|
|
|
options = ["subvol=home" "compress=lzo" "noatime"];
|
2023-07-03 22:35:58 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/nix" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/f06ac545-07c1-4b2b-8c0b-eeac43892933";
|
|
|
|
|
fsType = "btrfs";
|
2023-09-20 19:43:53 +02:00
|
|
|
|
options = ["subvol=nix" "compress=lzo" "noatime"];
|
2023-07-03 22:35:58 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/persist" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/f06ac545-07c1-4b2b-8c0b-eeac43892933";
|
|
|
|
|
fsType = "btrfs";
|
2023-09-20 19:43:53 +02:00
|
|
|
|
options = ["subvol=persist" "compress=lzo" "noatime"];
|
2023-07-03 22:35:58 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/var/log" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/f06ac545-07c1-4b2b-8c0b-eeac43892933";
|
|
|
|
|
fsType = "btrfs";
|
2023-09-20 19:43:53 +02:00
|
|
|
|
options = ["subvol=log" "compress=lzo" "noatime"];
|
2023-07-03 22:35:58 +02:00
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" = {
|
|
|
|
|
device = "/dev/disk/by-uuid/3F3E-9833";
|
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/opt/xilinx" = {
|
2023-11-02 13:46:30 +01:00
|
|
|
|
device = "/dev/disk/by-uuid/f5c27ef2-8053-4d96-9f8f-c6a50d6193b9";
|
2023-07-03 22:35:58 +02:00
|
|
|
|
fsType = "erofs";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices = [
|
|
|
|
|
/*
|
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-uuid/ee1792c9-098b-40c1-b760-20def16ba67f";
|
|
|
|
|
encrypted = {
|
|
|
|
|
enable = true;
|
|
|
|
|
keyFile = "/mnt-root/swap.key";
|
|
|
|
|
label = "swap_encr";
|
|
|
|
|
blkDev = "/dev/disk/by-uuid/aee12e27-b45a-4291-be78-db0a903071b3";
|
|
|
|
|
};
|
|
|
|
|
}
|
|
|
|
|
*/
|
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
|
|
|
|
nix.settings.max-jobs = lib.mkDefault 8;
|
|
|
|
|
}
|