diff options
author | makefu <github@syntax-fehler.de> | 2015-12-22 16:42:28 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-12-22 16:42:28 +0100 |
commit | f6605c1222399a31f90c9f429cdf788fb32fcba0 (patch) | |
tree | 636b6aeaee4e7fe94387d192204ae339886b549b /shared/2configs | |
parent | e7aacb1fe972b465242e051a8ab0faf6ead2c19f (diff) |
s 2 base: fix user,pubkey,secrets path
Diffstat (limited to 'shared/2configs')
-rw-r--r-- | shared/2configs/base.nix | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/shared/2configs/base.nix b/shared/2configs/base.nix index fceea67..c36061e 100644 --- a/shared/2configs/base.nix +++ b/shared/2configs/base.nix @@ -13,6 +13,8 @@ with lib; ]; }; + # TODO rename shared user to "krebs" + krebs.build.user = config.krebs.users.shared; krebs.build.source = { git.nixpkgs = { url = https://github.com/NixOS/nixpkgs; @@ -20,7 +22,7 @@ with lib; }; dir.secrets = { host = config.krebs.current.host; - path = mkDefault "${getEnv "HOME"}/secrets/krebs/wolf"; + path = mkDefault "${getEnv "HOME"}/secrets/krebs/${config.krebs.build.host.name}"; }; dir.stockholm = { host = config.krebs.current.host; @@ -65,7 +67,7 @@ with lib; config.krebs.users.lass.pubkey config.krebs.users.makefu.pubkey # TODO HARDER: - (readFile ../../krebs/Zpubkeys/makefu_omo.ssh.pub) + config.krebs.users.makefu-omo.pubkey config.krebs.users.tv.pubkey ]; |