summaryrefslogtreecommitdiffstats
path: root/makefu/1systems/gum.nix
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-04-07 20:29:33 +0200
committertv <tv@krebsco.de>2016-04-07 20:29:33 +0200
commite1a287c78bab2847fee7c4f1a18a765d89ca373f (patch)
tree336fc62199af9b1c38acf2de0a2bafbe8ed72efc /makefu/1systems/gum.nix
parent033bf438bd2ae39d6a465c475500a24514cc2739 (diff)
parent66b7a76a26a40bd4ecca8c83aafe5f2e5fefa461 (diff)
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/1systems/gum.nix')
-rw-r--r--makefu/1systems/gum.nix13
1 files changed, 10 insertions, 3 deletions
diff --git a/makefu/1systems/gum.nix b/makefu/1systems/gum.nix
index e784fdc12..710421659 100644
--- a/makefu/1systems/gum.nix
+++ b/makefu/1systems/gum.nix
@@ -41,9 +41,16 @@ in {
];
};
- krebs.nginx.servers.cgit.server-names = [
- "cgit.euer.krebsco.de"
- ];
+ krebs.nginx.servers.cgit = {
+ server-names = [ "cgit.euer.krebsco.de" ];
+ listen = [ "${external-ip}:80" "${internal-ip}:80" ];
+ };
+
+ # access
+ users.users = {
+ root.openssh.authorizedKeys.keys = [ config.krebs.users.makefu-omo.pubkey ];
+ makefu.openssh.authorizedKeys.keys = [ config.krebs.users.makefu-vbob.pubkey ];
+ };
# Chat
environment.systemPackages = with pkgs;[