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.
|
2024-05-30 22:43:23 +02:00
|
|
|
|
{ config, lib, pkgs, modulesPath, ... }:
|
2023-07-03 22:35:58 +02:00
|
|
|
|
|
2024-05-30 22:43:23 +02:00
|
|
|
|
{
|
|
|
|
|
imports =
|
|
|
|
|
[ (modulesPath + "/installer/scan/not-detected.nix")
|
|
|
|
|
];
|
2023-07-03 22:35:58 +02:00
|
|
|
|
|
2024-05-30 22:43:23 +02:00
|
|
|
|
boot.initrd.availableKernelModules = [ "nvme" "ehci_pci" "xhci_pci" "uas" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
|
|
|
|
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
|
|
|
|
boot.kernelModules = [ "kvm-amd" "amd-gpu" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
2023-07-03 22:35:58 +02:00
|
|
|
|
|
2024-05-30 22:43:23 +02:00
|
|
|
|
fileSystems."/" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/c461c971-54ca-4fb7-91e8-6ac70de53ef2";
|
|
|
|
|
fsType = "xfs";
|
|
|
|
|
};
|
2023-07-03 22:35:58 +02:00
|
|
|
|
|
2024-05-30 22:43:23 +02:00
|
|
|
|
fileSystems."/nix" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/e7dc8aad-3c9e-4190-a576-28ac230560bf";
|
|
|
|
|
fsType = "f2fs";
|
|
|
|
|
options = [ "atgc" "gc_merge" "lazytime" ];
|
|
|
|
|
};
|
2023-07-03 22:35:58 +02:00
|
|
|
|
|
2024-05-30 22:43:23 +02:00
|
|
|
|
fileSystems."/home" =
|
|
|
|
|
{ device = "/dev/disk/by-uuid/aeaa71ca-a439-4ef3-9ab8-db7ae8f59376";
|
|
|
|
|
fsType = "xfs";
|
|
|
|
|
};
|
2023-07-03 22:35:58 +02:00
|
|
|
|
|
2024-05-30 22:43:23 +02:00
|
|
|
|
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";
|
2023-07-03 22:35:58 +02:00
|
|
|
|
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
2024-05-30 22:43:23 +02:00
|
|
|
|
|
2023-07-03 22:35:58 +02:00
|
|
|
|
}
|