Add montalin

This commit is contained in:
Fabian Hauser 2020-02-25 21:37:53 +00:00
parent bf015614b6
commit de5e7866c5
2 changed files with 99 additions and 0 deletions

21
hardware/nuc.nix Normal file
View file

@ -0,0 +1,21 @@
# 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" "usbhid" "usb_storage" "sd_mod" ];
boot.initrd.kernelModules = [ ];
# boot.kernelModules = [ "kvm-intel" "virtio" "tun" ];
boot.kernelModules = [ "kvm-intel" ];
boot.extraModulePackages = [ ];
# boot.kernelParams = [ "console=ttyS0,115200n8" ];
powerManagement.cpuFreqGovernor = "ondemand";
nix.maxJobs = lib.mkDefault 8;
}