47 lines
1019 B
Nix
47 lines
1019 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, modulesPath, ... }:
|
||
|
||
{
|
||
imports = [
|
||
../../hardware/nvidia
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = [
|
||
"aesni_intel"
|
||
"ahci"
|
||
"cryptd"
|
||
"nvme"
|
||
"rtsx_pci_sdmmc"
|
||
"sd_mod"
|
||
"sr_mod"
|
||
"usbhid"
|
||
"usb_storage"
|
||
"xhci_pci"
|
||
];
|
||
boot.initrd.kernelModules = [ "dm-snapshot" ];
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.extraModulePackages = [ ];
|
||
boot.kernelParams = [ ];
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
||
|
||
boot.initrd.luks.devices."cryptlvm".device = "/dev/nvme0n1p2";
|
||
fileSystems."/" =
|
||
{
|
||
device = "/dev/disk/by-label/nixos";
|
||
fsType = "ext4";
|
||
};
|
||
|
||
fileSystems."/boot" =
|
||
{
|
||
device = "/dev/disk/by-label/BOOT";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
swapDevices =
|
||
[{ device = "/dev/disk/by-label/swap"; }];
|
||
|
||
}
|
||
|