forked from M-Labs/it-infra
39 lines
1.1 KiB
Nix
39 lines
1.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 = [ "xhci_pci" "ahci" "nvme" "usb_storage" "usbhid" "sd_mod" ];
|
|||
|
boot.initrd.kernelModules = [ ];
|
|||
|
boot.kernelModules = [ "kvm-intel" ];
|
|||
|
boot.extraModulePackages = [ ];
|
|||
|
|
|||
|
fileSystems."/" =
|
|||
|
{ device = "/dev/disk/by-uuid/e8aa18dc-70de-440c-885f-652a123acb15";
|
|||
|
fsType = "ext4";
|
|||
|
};
|
|||
|
|
|||
|
fileSystems."/boot" =
|
|||
|
{ device = "/dev/disk/by-uuid/19DD-B26F";
|
|||
|
fsType = "vfat";
|
|||
|
};
|
|||
|
|
|||
|
swapDevices =
|
|||
|
[ { device = "/dev/disk/by-uuid/86b091d2-9e61-4938-bcd9-6417e69a98b3"; }
|
|||
|
];
|
|||
|
|
|||
|
nix.maxJobs = lib.mkDefault 12;
|
|||
|
powerManagement.cpuFreqGovernor = lib.mkDefault "powersave";
|
|||
|
|
|||
|
boot.loader.systemd-boot.enable = true;
|
|||
|
boot.loader.efi.canTouchEfiVariables = true;
|
|||
|
|
|||
|
services.xserver.videoDrivers = [ "nvidia" ];
|
|||
|
services.xserver.displayManager.gdm.wayland = false;
|
|||
|
}
|