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 | 7fdc46bb9d911838edfa723d985ede6a604c0c5a (patch) | |
tree | 3ceb366c12f0bc229cfcd5fce6c2f409e29fe06b /shell.nix | |
parent | fc3f5d3d56a299b7b46c1a42d3fec57c536a5917 (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" \ |