diff options
author | makefu <github@syntax-fehler.de> | 2015-08-07 15:50:26 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2015-08-07 15:50:26 +0200 |
commit | d38809879df79be835de25d0d7531c8c0eb6423a (patch) | |
tree | ad491ce214d982d9f1ac92ca7fcb9c5636562d01 /makefu/2configs/base.nix | |
parent | 2499c472a08783d1cc1105c9b4c48b04f8062b5b (diff) | |
parent | a919ddb3878c59f1306d8d22f46b603aceb90e27 (diff) |
Merge branch 'tsp-vicious'
Diffstat (limited to 'makefu/2configs/base.nix')
-rw-r--r-- | makefu/2configs/base.nix | 26 |
1 files changed, 23 insertions, 3 deletions
diff --git a/makefu/2configs/base.nix b/makefu/2configs/base.nix index 8dfb2ef27..25d92d63d 100644 --- a/makefu/2configs/base.nix +++ b/makefu/2configs/base.nix @@ -2,11 +2,18 @@ with lib; { - imports = [ ]; + imports = [ + { + users.extraUsers = + mapAttrs (_: h: { hashedPassword = h; }) + (import /root/src/secrets/hashedPasswords.nix); + } + ./vim.nix + ]; 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,10 +31,23 @@ with lib; }; }; + networking.hostName = config.krebs.build.host.name; + nix.maxJobs = config.krebs.build.host.cores + 1; + #nix.maxJobs = 1; + + krebs.build.deps = { + secrets = { + url = "/home/makefu/secrets/${config.krebs.build.host.name}"; + }; + stockholm = { + url = toString ../..; + }; + }; + services.openssh.enable = true; nix.useChroot = true; - users.mutableUsers = true; + users.mutableUsers = false; boot.tmpOnTmpfs = true; systemd.tmpfiles.rules = [ |