diff options
author | tv <tv@krebsco.de> | 2017-07-06 21:47:47 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2017-07-10 11:05:48 +0200 |
commit | 112a652a9866d18263790ce5232459d4abf042b6 (patch) | |
tree | e953f148307fe2f1692c4925302a81515a2eaa39 /shell.nix | |
parent | 585c3f70f1f8fe07b977524375244ab6d1953219 (diff) |
move source config from module system to 1systems/*/source.nix
Diffstat (limited to 'shell.nix')
-rw-r--r-- | shell.nix | 6 |
1 files changed, 4 insertions, 2 deletions
@@ -43,9 +43,11 @@ let ''; init.env = pkgs.writeText "init.env" /* sh */ '' - config=''${config-$LOGNAME/1systems/$system.nix} + config=''${config-$LOGNAME/1systems/$system/config.nix} + source=''${source-$LOGNAME/1systems/$system/source.nix} export config + export source export system export target @@ -92,7 +94,7 @@ let --show-trace \ --strict \ -I nixos-config="$config" \ - -E 'with import <stockholm>; config.krebs.build.source') + "$source") echo $_source | ${pkgs.populate}/bin/populate \ "$target_user@$target_host:$target_port$target_path" \ |