nixos-config/nixos/system/server/default.nix
2023-12-29 17:03:46 +01:00

23 lines
484 B
Nix

{ config, lib, pkgs, ... }: {
imports = [
../../system/all
#./netdata.nix
./initssh.nix
#./graylog-exporter.nix
./prometheus-exporters.nix
./packages.nix
];
# make sure laptops stay awake when closing the montior
services.logind.lidSwitch = "ignore";
powerManagement.enable = false;
#powerManagement.scsiLinkPolicy = "min_power";
services.locate.enable = true;
services.locate.locate = pkgs.mlocate;
services.locate.localuser = null;
}