diff options
author | lassulus <lassulus@lassul.us> | 2017-07-16 12:05:35 +0200 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2017-07-16 12:05:35 +0200 |
commit | cd7c0971ccc9023f63feb75d4abe514fdc03a079 (patch) | |
tree | 704c47afe8cd43a36f36f251cd53b340ec5ec4da /makefu/2configs/default.nix | |
parent | b91a4c4b0f0958cdc5e7c0d60523326083f275d4 (diff) | |
parent | 0e0ad14c373a038e6d347017f5efe172c7409793 (diff) |
Merge remote-tracking branch 'gum/master'
Diffstat (limited to 'makefu/2configs/default.nix')
-rw-r--r-- | makefu/2configs/default.nix | 29 |
1 files changed, 1 insertions, 28 deletions
diff --git a/makefu/2configs/default.nix b/makefu/2configs/default.nix index 0b4ef8909..e47dfac99 100644 --- a/makefu/2configs/default.nix +++ b/makefu/2configs/default.nix @@ -18,34 +18,7 @@ with import <stockholm/lib>; dns.providers.lan = "hosts"; search-domain = "r"; - build = { - user = config.krebs.users.makefu; - source = let - inherit (config.krebs.build) host user; - ref = "06734d1"; # unstable @ 2017-07-03 + graceful requests2 (a772c3aa) - in { - nixpkgs = if config.makefu.full-populate || (getEnv "dummy_secrets" == "true") then - { - git = { url = https://github.com/makefu/nixpkgs; inherit ref; }; - } - else - # TODO use http, once it is implemented - # right now it is simply extracted revision folder - - ## prepare so we do not have to wait for rsync: - ## cd /var/src; curl https://github.com/nixos/nixpkgs/tarball/125ffff -L | tar zx && mv NixOS-nixpkgs-125ffff nixpkgs - { file = "/home/makefu/store/${ref}";}; - secrets.file = - if getEnv "dummy_secrets" == "true" - then toString <stockholm/makefu/6tests/data/secrets> - else "/home/makefu/secrets/${host.name}"; - stockholm.file = getEnv "PWD"; - - # Defaults for all stockholm users? - nixos-config.symlink = - "stockholm/${user.name}/1systems/${host.name}.nix"; - }; - }; + build.user = config.krebs.users.makefu; }; users.extraUsers = { |