36 lines
866 B
Nix
36 lines
866 B
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, inputs, ... }:
|
||
|
||
{
|
||
imports =
|
||
[ "${inputs.nixpkgs}/nixos/modules/installer/scan/not-detected.nix" ];
|
||
|
||
boot.initrd.availableKernelModules =
|
||
[ "nvme" "xhci_pci" "ahci" "usb_storage" "sd_mod" ];
|
||
boot.kernelModules = [ "kvm-amd" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/persist" = {
|
||
device = "/dev/nvme0n1p2";
|
||
fsType = "ext4";
|
||
neededForBoot = true;
|
||
};
|
||
|
||
fileSystems."/persist/home" = {
|
||
device = "/dev/disk/by-label/Home";
|
||
fsType = "ext4";
|
||
neededForBoot = true;
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/nvme0n1p1";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
swapDevices = [ ];
|
||
|
||
nix.maxJobs = lib.mkDefault 32;
|
||
}
|