From 4c73cb71b5c2864a92b8dcc296080eb621d467ab Mon Sep 17 00:00:00 2001 From: iFargle Date: Sat, 9 Dec 2023 21:34:27 +0900 Subject: [PATCH] Test --- .forgejo/workflows/update-flake-lock.yml | 5 ++++- lib/default.nix | 3 +-- 2 files changed, 5 insertions(+), 3 deletions(-) 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;