diff --git a/.forgejo/workflows/update-flake-lock.yml b/.forgejo/workflows/update-flake-lock.yml index 42e37b41..397b0106 100644 --- a/.forgejo/workflows/update-flake-lock.yml +++ b/.forgejo/workflows/update-flake-lock.yml @@ -3,7 +3,10 @@ run-name: ${{ github.actor }} - update-flake-lock on: schedule: - cron: '0 0 * * 7' - # “At 00:00 on Sunday.” + # “At 00:00 on Sunday." + push: + branches: + - main jobs: update-flake-lock: runs-on: docker diff --git a/lib/default.nix b/lib/default.nix index 669b78de..f89d770a 100644 --- a/lib/default.nix +++ b/lib/default.nix @@ -43,8 +43,7 @@ gpu ? null, theme ? "default", format - }: - inputs.nixos-generators.nixosGenerate { + }: inputs.nixos-generators.nixosGenerate { specialArgs = { inherit inputs outputs desktop hostname username stateVersion hmStateVersion gpu platform theme format; }; format = format; system = platform;