50 lines
1 KiB
Nix
50 lines
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,
|
||
...
|
||
}:
|
||
|
||
{
|
||
imports = [
|
||
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
||
];
|
||
|
||
boot.initrd.availableKernelModules = [
|
||
"ehci_pci"
|
||
"ahci"
|
||
"usbhid"
|
||
"sd_mod"
|
||
"sr_mod"
|
||
];
|
||
boot.initrd.kernelModules = [ ];
|
||
boot.kernelModules = [ "kvm-intel" ];
|
||
boot.extraModulePackages = [ ];
|
||
|
||
# boot.kernelParams = [ "nomodeset" ];
|
||
|
||
fileSystems."/" = {
|
||
device = "/dev/disk/by-label/nixos-root";
|
||
fsType = "btrfs";
|
||
options = [
|
||
"ssd"
|
||
"noatime"
|
||
"ssd_spread"
|
||
"discard"
|
||
"space_cache"
|
||
];
|
||
};
|
||
|
||
fileSystems."/boot" = {
|
||
device = "/dev/disk/by-label/BOOT";
|
||
fsType = "vfat";
|
||
};
|
||
|
||
swapDevices = [ { device = "/dev/disk/by-label/SWAP"; } ];
|
||
|
||
nix.maxJobs = lib.mkDefault 4;
|
||
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
||
}
|