44 lines
1.1 KiB
Nix
44 lines
1.1 KiB
Nix
# 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" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems = {
|
||
"/" = {
|
||
device = "/dev/disk/by-uuid/b86310f5-fe3d-4b4d-bc02-ab0d7e9297cf";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"discard=async"
|
||
"noatime"
|
||
"subvol=/nixos"
|
||
"compress=zstd:12"
|
||
];
|
||
};
|
||
"/boot" = {
|
||
device = "/dev/disk/by-uuid/f4be9071-2532-4272-b1f0-c54e868c0ba2";
|
||
fsType = "ext2";
|
||
};
|
||
"/boot/efi" = {
|
||
device = "/dev/disk/by-uuid/529D-EB74";
|
||
fsType = "vfat";
|
||
};
|
||
};
|
||
|
||
boot.initrd.luks.devices.cryptroot = {
|
||
device = "/dev/disk/by-uuid/d9b120c1-5e80-4893-92fe-497e5b44c25b";
|
||
allowDiscards = true;
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
}
|