mirror of
https://github.com/kittywitch/nixfiles.git
synced 2026-02-10 04:49:19 -08:00
Flake lock updates, flake-cron exclude two hosts
This commit is contained in:
parent
c84698069a
commit
b3d8fb59e1
3 changed files with 15 additions and 14 deletions
|
|
@ -98,7 +98,8 @@ with lib; {
|
|||
targets = main.deploy.targets;
|
||||
enabledTargets = filterAttrs (_: v: v.enable) main.deploy.targets;
|
||||
enabledHosts = concatLists (mapAttrsToList (targetName: target: target.nodeNames) enabledTargets);
|
||||
hostBuildString = concatMapStringsSep " && " (host: "nix build -Lf . network.nodes.${host}.deploy.system -o result-${host} && nix-collect-garbage -d") enabledHosts;
|
||||
filteredHosts = subtractLists enabledHosts [ "daiyousei" "shinmyoumaru" ];
|
||||
hostBuildString = concatMapStringsSep " && " (host: "nix build -Lf . network.nodes.${host}.deploy.system -o result-${host} && nix-collect-garbage -d") filteredHosts;
|
||||
in
|
||||
''
|
||||
# ${toString builtins.currentTime}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue