100 lines
2.1 KiB
Nix
100 lines
2.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,
|
||
modulesPath,
|
||
...
|
||
}:
|
||
|
||
{
|
||
imports = [
|
||
(modulesPath + "/installer/scan/not-detected.nix")
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = [
|
||
"ahci"
|
||
"nvme"
|
||
"xhci_pci"
|
||
"thunderbolt"
|
||
"uas"
|
||
];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-amd" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
boot.initrd.luks.devices."nuc-nixos-cryptroot".device =
|
||
"/dev/disk/by-uuid/6564be77-2b7f-4078-a791-cc74ffccc561";
|
||
|
||
fileSystems."/" = {
|
||
device = "none";
|
||
fsType = "tmpfs";
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-uuid/08E3-88DB";
|
||
fsType = "vfat";
|
||
options = [
|
||
"fmask=0022"
|
||
"dmask=0022"
|
||
];
|
||
};
|
||
|
||
fileSystems."/nix" = {
|
||
device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
|
||
fsType = "bcachefs";
|
||
options = [
|
||
"noatime"
|
||
"X-mount.subdir=nix"
|
||
];
|
||
};
|
||
|
||
fileSystems."/etc" = {
|
||
device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
|
||
fsType = "bcachefs";
|
||
options = [
|
||
"noatime"
|
||
"X-mount.subdir=etc"
|
||
];
|
||
};
|
||
|
||
fileSystems."/var/log" = {
|
||
device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
|
||
fsType = "bcachefs";
|
||
options = [
|
||
"noatime"
|
||
"X-mount.subdir=log"
|
||
];
|
||
};
|
||
|
||
fileSystems."/root" = {
|
||
device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
|
||
fsType = "bcachefs";
|
||
options = [
|
||
"noatime"
|
||
"X-mount.subdir=root"
|
||
];
|
||
};
|
||
|
||
fileSystems."/persist" = {
|
||
device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
|
||
fsType = "bcachefs";
|
||
options = [
|
||
"noatime"
|
||
"X-mount.subdir=persist"
|
||
];
|
||
};
|
||
|
||
fileSystems."/home" = {
|
||
device = "UUID=12dc0336-37fa-497c-bc4c-8e4eb8a2fab8";
|
||
fsType = "bcachefs";
|
||
options = [ "X-mount.subdir=home" ];
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||
hardware.cpu.amd.updateMicrocode = lib.mkDefault config.hardware.enableRedistributableFirmware;
|
||
}
|