configurations of hq services
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

configuration.nix 1.0KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. # Edit this configuration file to define what should be installed on
  2. # your system. Help is available in the configuration.nix(5) man page
  3. # and in the NixOS manual (accessible by running ‘nixos-help’).
  4. { config, pkgs, lib, ... }:
  5. {
  6. imports =
  7. [ ../../../lib/lxc-container.nix
  8. ../../../lib/shared.nix
  9. ../../../lib/admins.nix
  10. ];
  11. environment.systemPackages = with pkgs; [
  12. vim
  13. ];
  14. networking = {
  15. hostName = "logging";
  16. };
  17. services.openssh = {
  18. enable = true;
  19. permitRootLogin = "yes";
  20. };
  21. services.graylog = {
  22. enable = true;
  23. passwordSecret = "SDwK3ug9U4gYSVtj3h22i0l57QO6p5RE58sNehAgU3vXgqGa2HuNyhL19vhoUKFqy28rqGfDQkRD5834NqPi5wLsy8H1hz5V";
  24. # mongo.serv.zentralwerk. ?
  25. elasticsearchHosts = [ "http://172.20.73.10:9200" ];
  26. rootPasswordSha2 = "0319baba53abe8b33e1da12fd906c27cbe61fad6a129b9d5ecf196b6661e959d";
  27. # mongo.serv.zentralwerk. ?
  28. mongodbUri = "mongodb://172.20.73.12/graylog";
  29. };
  30. system.stateVersion = "19.03"; # Did you read the comment?
  31. }