From c3e295b56eba690fc5422b74a74ffca6d9f98ac5 Mon Sep 17 00:00:00 2001 From: lassulus Date: Thu, 16 Jul 2015 15:51:01 +0200 Subject: 2 lass: re-add all configs --- 2configs/lass/mors/repos.nix | 87 +++++++++++++++++++++++++++++++++++++++++ 2configs/lass/mors/retiolum.nix | 21 ++++++++++ 2 files changed, 108 insertions(+) create mode 100644 2configs/lass/mors/repos.nix create mode 100644 2configs/lass/mors/retiolum.nix (limited to '2configs/lass/mors') diff --git a/2configs/lass/mors/repos.nix b/2configs/lass/mors/repos.nix new file mode 100644 index 000000000..1f7f33456 --- /dev/null +++ b/2configs/lass/mors/repos.nix @@ -0,0 +1,87 @@ +{ ... }: + +{ + imports = [ + ../lass/gitolite-base.nix + ../common/krebs-keys.nix + ../common/krebs-repos.nix + ]; + + services.gitolite = { + repos = { + + config = { + users = { + lass = "RW+"; + uriel = "R"; + tv = "R"; + }; + extraConfig = "option hook.post-receive = irc-announce"; + }; + + pass = { + users = { + lass = "RW+"; + uriel = "R"; + }; + }; + + load-env = { + users = { + lass = "RW+"; + uriel = "R"; + tv = "R"; + }; + extraConfig = "option hook.post-receive = irc-announce"; + }; + + emse-drywall = { + users = { + lass = "RW+"; + uriel = "R"; + tv = "R"; + }; + extraConfig = "option hook.post-receive = irc-announce"; + }; + + emse-hsdb = { + users = { + lass = "RW+"; + uriel = "R"; + tv = "R"; + }; + extraConfig = "option hook.post-receive = irc-announce"; + }; + + brain = { + users = { + lass = "RW+"; + }; + extraConfig = "option hook.post-receive = irc-announce"; + #hooks.post-receive = irc-announce; + }; + + painload = { + users = { + lass = "RW+"; + }; + extraConfig = "option hook.post-receive = irc-announce"; + }; + + services = { + users = { + lass = "RW+"; + }; + extraConfig = "option hook.post-receive = irc-announce"; + }; + + xmonad-config = { + users = { + lass = "RW+"; + uriel = "R"; + }; + }; + + }; + }; +} diff --git a/2configs/lass/mors/retiolum.nix b/2configs/lass/mors/retiolum.nix new file mode 100644 index 000000000..1148bee9c --- /dev/null +++ b/2configs/lass/mors/retiolum.nix @@ -0,0 +1,21 @@ +{ config, pkgs, ... }: + +{ + imports = [ + ../tv/retiolum + ]; + + tv.retiolum = { + enable = true; + hosts = ; + privateKeyFile = "/etc/nixos/secrets/mors.retiolum.rsa_key.priv"; + connectTo = [ + "fastpoke" + "gum" + "ire" + ]; + }; + + networking.firewall.allowedTCPPorts = [ 655 ]; + networking.firewall.allowedUDPPorts = [ 655 ]; +} -- cgit v1.2.3