diff --git a/.github/workflows/niv-update.yml b/.github/workflows/niv-update.yml index 80de758f..067bef60 100644 --- a/.github/workflows/niv-update.yml +++ b/.github/workflows/niv-update.yml @@ -100,4 +100,4 @@ name: niv-update - ci/niv-cron.nix - .github/workflows/niv-update.yml schedule: - - cron: 0 */6 * * * + - cron: 0 0 * * * diff --git a/ci/niv-cron.nix b/ci/niv-cron.nix index fb886137..37620420 100644 --- a/ci/niv-cron.nix +++ b/ci/niv-cron.nix @@ -21,7 +21,7 @@ with lib; { inherit paths; }; schedule = [ { - cron = "0 */6 * * *"; + cron = "0 0 * * *"; } ]; }; }; diff --git a/shell.nix b/shell.nix index 769838ab..86483399 100644 --- a/shell.nix +++ b/shell.nix @@ -11,8 +11,8 @@ echo $f nix run --arg config $f ci.run.gh-actions-generate done - cd ${toString ./trusted} - export TRUSTED_CONFIG_ROOT=${toString ./trusted}/ci + cd ${toString ./config/trusted} + export TRUSTED_CONFIG_ROOT=${toString ./config/trusted}/ci TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/hosts.nix) for f in "''${TRUSTED_CONFIG_FILES[@]}"; do echo $f @@ -29,8 +29,8 @@ echo $f nix run --arg config $f ci.test done - cd ${toString ./trusted} - export TRUSTED_CONFIG_ROOT=${toString ./trusted}/ci + cd ${toString ./config/trusted} + export TRUSTED_CONFIG_ROOT=${toString ./config/trusted}/ci TRUSTED_CONFIG_FILES=($TRUSTED_CONFIG_ROOT/hosts.nix) for f in "''${TRUSTED_CONFIG_FILES[@]}"; do echo $f