stockholm/tv/2configs/hw/AO753.nix

44 lines
711 B
Nix
Raw Normal View History

2016-02-02 20:17:10 +01:00
{ config, lib, pkgs, ... }:
2016-10-20 20:54:38 +02:00
with import <stockholm/lib>;
2015-07-11 16:55:22 +02:00
{
imports = [
2015-10-29 01:09:54 +01:00
../smartd.nix
2015-07-11 16:55:22 +02:00
];
boot.loader.grub = {
device = "/dev/sda";
splashImage = null;
};
boot.initrd.availableKernelModules = [
"ahci"
];
boot.kernelModules = [
"kvm-intel"
"wl"
];
boot.extraModulePackages = [
config.boot.kernelPackages.broadcom_sta
];
2015-10-29 01:09:54 +01:00
nix = {
buildCores = 2;
maxJobs = 2;
daemonIONiceLevel = 1;
daemonNiceLevel = 1;
};
2015-07-11 16:55:22 +02:00
services.logind.extraConfig = ''
HandleHibernateKey=ignore
HandleLidSwitch=ignore
HandlePowerKey=ignore
HandleSuspendKey=ignore
'';
2019-09-04 20:17:56 +02:00
krebs.nixpkgs.allowUnfreePredicate = pkg: packageName pkg == "broadcom-sta";
2015-07-11 16:55:22 +02:00
}