nixos-config/nixos/system/server/default.nix

27 lines
535 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 = [
2021-09-27 18:53:45 +02:00
../../system/all
2019-10-24 02:20:38 +02:00
./netdata.nix
./initssh.nix
2022-06-23 00:33:59 +02:00
#./graylog-exporter.nix
2019-10-24 02:20:38 +02:00
./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.scsiLinkPolicy = "min_power";
# config vim
programs.custom.vim.enable = true;
2021-05-02 05:11:07 +02:00
services.locate.enable = true;
2022-01-17 11:57:52 +01:00
services.locate.locate = pkgs.mlocate;
services.locate.localuser = null;
2021-05-02 05:11:07 +02:00
2023-01-07 21:11:25 +01:00
2019-10-24 02:20:38 +02:00
}