2021-11-02 19:30:28 +01:00
|
|
|
|
# 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 =
|
2023-02-24 14:43:35 +01:00
|
|
|
|
[
|
|
|
|
|
<nixpkgs/nixos/modules/installer/scan/not-detected.nix>
|
2021-11-02 19:30:28 +01:00
|
|
|
|
];
|
|
|
|
|
|
|
|
|
|
boot.initrd.availableKernelModules = [ "ehci_pci" "ahci" "usbhid" "sd_mod" "sr_mod" ];
|
|
|
|
|
boot.initrd.kernelModules = [ ];
|
|
|
|
|
boot.kernelModules = [ "kvm-intel" ];
|
|
|
|
|
boot.extraModulePackages = [ ];
|
|
|
|
|
|
2023-01-15 18:34:00 +01:00
|
|
|
|
# boot.kernelParams = [ "nomodeset" ];
|
|
|
|
|
|
2021-11-02 19:30:28 +01:00
|
|
|
|
fileSystems."/" =
|
2023-02-24 14:43:35 +01:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-label/nixos-root";
|
2021-11-02 19:30:28 +01:00
|
|
|
|
fsType = "btrfs";
|
|
|
|
|
options = [ "ssd" "noatime" "ssd_spread" "discard" "space_cache" ];
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
fileSystems."/boot" =
|
2023-02-24 14:43:35 +01:00
|
|
|
|
{
|
|
|
|
|
device = "/dev/disk/by-label/BOOT";
|
2021-11-02 19:30:28 +01:00
|
|
|
|
fsType = "vfat";
|
|
|
|
|
};
|
|
|
|
|
|
|
|
|
|
swapDevices =
|
2023-02-24 14:43:35 +01:00
|
|
|
|
[{ device = "/dev/disk/by-label/SWAP"; }];
|
2021-11-02 19:30:28 +01:00
|
|
|
|
|
|
|
|
|
nix.maxJobs = lib.mkDefault 4;
|
|
|
|
|
powerManagement.cpuFreqGovernor = lib.mkDefault "performance";
|
|
|
|
|
}
|