nixos-config/system/server/default.nix

25 lines
500 B
Nix
Raw Normal View History

2019-12-20 05:54:26 +01:00
{ config, lib, pkgs, ... }: {
2019-10-24 02:20:38 +02:00
imports = [
<system/all>
./netdata.nix
./initssh.nix
./graylog-exporter.nix
./prometheus-exporters.nix
./packages.nix
2019-10-24 02:20:38 +02:00
];
# make sure laptops stay awake when closing the montior
services.logind.lidSwitch = "ignore";
powerManagement.enable = false;
powerManagement.cpuFreqGovernor = "ondemand";
powerManagement.scsiLinkPolicy = "min_power";
# config vim
programs.custom.vim.enable = true;
2021-05-02 05:11:07 +02:00
services.locate.enable = true;
2019-10-24 02:20:38 +02:00
}