diff options
author | makefu <github@syntax-fehler.de> | 2015-08-07 12:10:02 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-08-07 12:10:02 +0200 |
commit | 91a112c24294154be3b812e2b52e1c651d336aff (patch) | |
tree | 30548dd49faff0d82b60fda6eb8f3001e2d58266 /makefu/2configs/base.nix | |
parent | eeb7a84e988c0fa41113643505d2965b0f81ffb9 (diff) |
refactor tsp
Diffstat (limited to 'makefu/2configs/base.nix')
-rw-r--r-- | makefu/2configs/base.nix | 14 |
1 files changed, 13 insertions, 1 deletions
diff --git a/makefu/2configs/base.nix b/makefu/2configs/base.nix index 8dfb2ef27..792cccc71 100644 --- a/makefu/2configs/base.nix +++ b/makefu/2configs/base.nix @@ -6,7 +6,7 @@ with lib; krebs.enable = true; krebs.search-domain = "retiolum"; - networking.hostName = config.krebs.build.host.name; + users.extraUsers = { root = { openssh.authorizedKeys.keys = [ config.krebs.users.makefu.pubkey ]; @@ -24,6 +24,18 @@ with lib; }; }; + networking.hostName = config.krebs.build.host.name; + nix.maxJobs = config.krebs.build.host.cores + 1; + + krebs.build.deps = { + secrets = { + url = "/home/makefu/secrets/${config.krebs.build.host.name}"; + }; + stockholm = { + url = toString ../..; + }; + }; + services.openssh.enable = true; nix.useChroot = true; |