diff options
author | makefu <github@syntax-fehler.de> | 2015-07-24 21:04:22 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-07-24 21:04:22 +0200 |
commit | 6b2a9d6b26ef75ee78c96839d4aa06ab027fcf4e (patch) | |
tree | edae5b9996be874d0795571af2f1356e4b904a2b /3modules/krebs/default.nix | |
parent | 8cf043ca2014e566ce2dc056d392fe9f85dc7cb7 (diff) | |
parent | 2154167857b6bd35c8b1cce2ad41521164abb2ff (diff) |
Merge remote-tracking branch 'cd/master'
Diffstat (limited to '3modules/krebs/default.nix')
-rw-r--r-- | 3modules/krebs/default.nix | 43 |
1 files changed, 43 insertions, 0 deletions
diff --git a/3modules/krebs/default.nix b/3modules/krebs/default.nix new file mode 100644 index 0000000..b8722d1 --- /dev/null +++ b/3modules/krebs/default.nix @@ -0,0 +1,43 @@ +{ config, lib, ... }: + +with import ../../4lib/krebs { inherit lib; }; +let + cfg = config.krebs; + + out = { + imports = [ + ./github-hosts-sync.nix + ./git.nix + ./nginx.nix + ./retiolum.nix + ./urlwatch.nix + ]; + options.krebs = api; + config = mkIf cfg.enable imp; + }; + + api = { + users = mkOption { + type = with types; attrsOf user; + default = addNames { + lass = { + pubkey = readFile ../../Zpubkeys/lass.ssh.pub; + }; + makefu = { + pubkey = readFile ../../Zpubkeys/makefu.ssh.pub; + }; + tv = { + pubkey = readFile ../../Zpubkeys/tv_wu.ssh.pub; + }; + uriel = { + pubkey = readFile ../../Zpubkeys/uriel.ssh.pub; + }; + }; + }; + }; + + imp = { + }; + +in +out |