37 lines
1.0 KiB
Nix
37 lines
1.0 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 = [ "xhci_pci" "nvme" "usb_storage" "sd_mod" "rtsx_pci_sdmmc" ];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
fileSystems."/" =
|
||
{ device = "/dev/disk/by-uuid/37acf829-e092-4232-85a0-3876f0b34cc8";
|
||
fsType = "f2fs";
|
||
};
|
||
|
||
boot.initrd.luks.devices."cryptnixos".device = "/dev/disk/by-uuid/ec31faea-a697-42b2-b12c-021bfd176d5b";
|
||
|
||
fileSystems."/boot" =
|
||
{ device = "/dev/disk/by-uuid/7294-A273";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
swapDevices = [
|
||
{
|
||
device = "/dev/disk/by-partuuid/e979f198-37c4-4a86-8138-e148c3d78447";
|
||
randomEncryption.enable = true;
|
||
}
|
||
];
|
||
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||
}
|