minor adjustments

This commit is contained in:
Ingolf Wagner 2021-09-26 10:18:18 +02:00
parent 5f959fea9f
commit d29a43028b
No known key found for this signature in database
GPG key ID: 76BF5F1928B9618B
2 changed files with 3 additions and 7 deletions

View file

@ -15,11 +15,11 @@ let
source = { source = {
secrets.file = "${secrets}/secrets"; secrets.file = "${secrets}/secrets";
assets.file = toString ./assets;
private_assets.pass = { private_assets.pass = {
dir = toString ~/.password-store; dir = toString ~/.password-store;
name = "krops/private_assets"; name = "krops/private_assets";
}; };
assets.file = toString ./assets;
configs.file = toString ./configs; configs.file = toString ./configs;
library.file = toString ./library; library.file = toString ./library;
modules.file = toString ./modules; modules.file = toString ./modules;
@ -63,16 +63,12 @@ let
target = lib.mkTarget "root@${host}/etc/NetworkManager"; target = lib.mkTarget "root@${host}/etc/NetworkManager";
}; };
in { in {
"${name}-all" = pkgs.writers.writeBashBin "${name}-all" '' "${name}" = pkgs.writers.writeBashBin "${name}-all" ''
echo "deploy network secerts" echo "deploy network secerts"
${network}/bin/secrets ${network}/bin/secrets
echo "deploy system" echo "deploy system"
${system}/bin/system ${system}/bin/system
''; '';
"${name}" = pkgs.writers.writeBashBin name ''
echo "deploy system"
${system}/bin/system
'';
}; };
in (desktop { in (desktop {

View file

@ -61,7 +61,7 @@
# rewire NIX_PATH # rewire NIX_PATH
# --------------- # ---------------
environment.variables.NIX_PATH = lib.mkForce "/var/src"; # environment.variables.NIX_PATH = lib.mkForce "/var/src";
# Shell configuration # Shell configuration
# ------------------- # -------------------