nixos-config/system/spike/default.nix

35 lines
566 B
Nix

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