nix-config/hosts/containers/logging/configuration.nix

38 lines
869 B
Nix
Raw Normal View History

2019-07-03 20:26:46 +02:00
# Edit this configuration file to define what should be installed on
# your system. Help is available in the configuration.nix(5) man page
# and in the NixOS manual (accessible by running nixos-help).
{ config, pkgs, lib, ... }:
{
imports =
[ ../../../lib/lxc-container.nix
../../../lib/shared.nix
../../../lib/admins.nix
];
environment.systemPackages = with pkgs; [
vim
];
networking = {
hostName = "logging";
};
nixpkgs.config.allowUnfree = true;
services.openssh = {
enable = true;
permitRootLogin = "yes";
};
services.graylog = {
enable = true;
passwordSecret = "SDwK3ug9U4gYSVtj3h22i0l57QO6p5RE58sNehAgU3vXgqGa2HuNyhL19vhoUKFqy28rqGfDQkRD5834NqPi5wLsy8H1hz5V";
elasticsearchHosts = [ "elastic1.serv.zentralwerk.org" ];
};
system.stateVersion = "19.03"; # Did you read the comment?
}