diff options
author | makefu <github@syntax-fehler.de> | 2017-07-21 09:11:08 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2017-07-21 09:11:08 +0200 |
commit | 77ea3dc79ba5c82663977755d673d2c8f8fdd0b1 (patch) | |
tree | b030977f43c10cd13968836aff6f91dacfb849b2 /lass/1systems/prism/config.nix | |
parent | 0cce2f9d14766dc29674c098fe84aaca0adc7876 (diff) | |
parent | 8bfcf85531c4b8455c301504ccd74f95487e86d0 (diff) |
Merge branch 'master' of prism:stockholm
Diffstat (limited to 'lass/1systems/prism/config.nix')
-rw-r--r-- | lass/1systems/prism/config.nix | 43 |
1 files changed, 20 insertions, 23 deletions
diff --git a/lass/1systems/prism/config.nix b/lass/1systems/prism/config.nix index 9faa4d473..6c1453c94 100644 --- a/lass/1systems/prism/config.nix +++ b/lass/1systems/prism/config.nix @@ -36,7 +36,6 @@ in { <stockholm/lass/2configs/iodined.nix> <stockholm/lass/2configs/libvirt.nix> <stockholm/lass/2configs/hfos.nix> - <stockholm/lass/2configs/makefu-sip.nix> <stockholm/lass/2configs/monitoring/server.nix> <stockholm/lass/2configs/monitoring/monit-alarms.nix> <stockholm/lass/2configs/paste.nix> @@ -213,6 +212,26 @@ in { config.krebs.users.tv.pubkey ]; }; + users.users.makefu = { + uid = genid "makefu"; + isNormalUser = true; + openssh.authorizedKeys.keys = [ + config.krebs.users.makefu.pubkey + ]; + }; + users.users.nin = { + uid = genid "nin"; + inherit (config.krebs.users.nin) home; + group = "users"; + createHome = true; + useDefaultShell = true; + openssh.authorizedKeys.keys = [ + config.krebs.users.nin.pubkey + ]; + extraGroups = [ + "libvirtd" + ]; + }; } { krebs.repo-sync.timerConfig = { @@ -236,28 +255,6 @@ in { }; } { - # Nin stuff - users.users.nin = { - uid = genid "nin"; - inherit (config.krebs.users.nin) home; - group = "users"; - createHome = true; - useDefaultShell = true; - openssh.authorizedKeys.keys = [ - config.krebs.users.nin.pubkey - ]; - extraGroups = [ - "libvirtd" - ]; - }; - krebs.iptables.tables.nat.PREROUTING.rules = [ - { v6 = false; precedence = 1000; predicate = "-d 213.239.205.240 -p tcp --dport 1337"; target = "DNAT --to-destination 192.168.122.24:22"; } - ]; - krebs.iptables.tables.filter.FORWARD.rules = [ - { v6 = false; precedence = 1000; predicate = "-d 192.168.122.24 -p tcp --dport 22 -m state --state NEW,ESTABLISHED,RELATED"; target = "ACCEPT"; } - ]; - } - { krebs.Reaktor.prism = { nickname = "Reaktor|lass"; channels = [ "#retiolum" ]; |