nixos-config/system/spike/default.nix

30 lines
524 B
Nix

{ 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
];
};
services = {
tlp.enable = true;
upower.enable = true;
throttled.enable = true;
};
programs.light.enable = true;
environment.systemPackages = with pkgs; [
i7z
linuxPackages.cpupower
];
system.stateVersion = "20.03";
}