diff options
author | tv <tv@krebsco.de> | 2015-11-06 22:36:01 +0100 |
---|---|---|
committer | tv <tv@krebsco.de> | 2015-11-06 22:36:01 +0100 |
commit | bae469d2a64165a42d93cdb31e231fa75e9813a5 (patch) | |
tree | e19728cbe2f2d379980c3a9c91f8dc2e0e7832b7 /tv/2configs | |
parent | 4d93a8215f08cbea0bbcb8c668f2bbc9600016da (diff) |
tv: condense krebs.build
Diffstat (limited to 'tv/2configs')
-rw-r--r-- | tv/2configs/default.nix | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/tv/2configs/default.nix b/tv/2configs/default.nix index d3f4eed0d..d31862b60 100644 --- a/tv/2configs/default.nix +++ b/tv/2configs/default.nix @@ -5,6 +5,25 @@ with lib; { krebs.enable = true; + krebs.build = { + user = config.krebs.users.tv; + target = mkDefault "root@${config.krebs.build.host.name}"; + source = { + git.nixpkgs = { + url = mkDefault https://github.com/NixOS/nixpkgs; + rev = mkDefault "c44a593aa43bba6a0708f6f36065a514a5110613"; + target-path = mkDefault "/var/src/nixpkgs"; + }; + dir.secrets = { + path = mkDefault "/home/tv/secrets/${config.krebs.build.host.name}"; + }; + dir.stockholm = { + path = mkDefault "/home/tv/stockholm"; + target-path = mkDefault "/var/src/stockholm"; + }; + }; + }; + networking.hostName = config.krebs.build.host.name; imports = [ |