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 955B

12345678910111213141516171819202122232425262728293031
  1. { config, pkgs, lib, ... }:
  2. let
  3. tiggerGit = builtins.fetchTarball https://github.com/astro/tigger/archive/master.tar.gz;
  4. in
  5. {
  6. imports =
  7. [ ../../../lib/lxc-container.nix
  8. ../../../lib/shared.nix
  9. ../../../lib/admins.nix
  10. "${tiggerGit}/module.nix"
  11. ];
  12. networking.hostName = "mucbot";
  13. networking.useNetworkd = true;
  14. networking.defaultGateway = "172.22.99.4";
  15. networking.useDHCP = lib.mkForce true;
  16. services.tigger = {
  17. enable = true;
  18. jid = import ../../../secrets/hosts/mucbot/jabber-jid.nix;
  19. password = import ../../../secrets/hosts/mucbot/jabber-password.nix;
  20. muc = "c3d2@chat.c3d2.de/Astrobot";
  21. };
  22. # This value determines the NixOS release with which your system is to be
  23. # compatible, in order to avoid breaking some software such as database
  24. # servers. You should change this only after NixOS release notes say you
  25. # should.
  26. system.stateVersion = "18.09"; # Did you read the comment?
  27. }