nixos-config/system/spike/default.nix

35 lines
566 B
Nix
Raw Normal View History

2020-08-23 23:31:28 +00:00
{ config, pkgs, ... }:
{
2020-09-21 00:59:56 +00:00
imports = [
./boot-config.nix
./hardware-configuration.nix
../../services/ssh.nix
];
2020-08-23 23:31:28 +00:00
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;
};
programs.light.enable = true;
environment.systemPackages = with pkgs; [
i7z
linuxPackages.cpupower
];
system.stateVersion = "20.03";
}