nixos-config/system/spike/default.nix

32 lines
558 B
Nix
Raw Normal View History

2020-08-23 23:31:28 +00:00
{ config, pkgs, ... }:
{
imports = [ ./boot-config.nix ./hardware-configuration.nix ];
networking.hostName = "spike";
hardware = {
cpu.intel.updateMicrocode = true;
opengl.extraPackages = with pkgs; [
intel-media-driver
vaapiIntel
];
};
2020-08-23 23:31:28 +00:00
services = {
avahi.publish.enable = true;
2020-08-23 23:31:28 +00:00
tlp.enable = true;
upower.enable = true;
throttled.enable = true;
};
programs.light.enable = true;
environment.systemPackages = with pkgs; [
i7z
linuxPackages.cpupower
];
system.stateVersion = "20.03";
}