diff --git a/.forgejo/workflows/update-flake-lock.yml b/.forgejo/workflows/update-flake-lock.yml index f9e33d55..ca2e26ea 100644 --- a/.forgejo/workflows/update-flake-lock.yml +++ b/.forgejo/workflows/update-flake-lock.yml @@ -4,6 +4,8 @@ on: schedule: - cron: '0 0 * * 1' # “At 00:00 on Monday." + push: + - branch: main jobs: update-flake-lock: runs-on: docker @@ -13,7 +15,7 @@ jobs: - name: "Setup Runner" run: | apk update - apk add git nodejs nix --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ + apk add git nodejs nix # --repository=http://dl-cdn.alpinelinux.org/alpine/edge/testing/ git config --global user.email "${{github.actor}}" git config --global user.name "Albert J. Copeland" - uses: actions/checkout@v3 diff --git a/nixos/hosts/nixos-framework/disks.nix b/nixos/hosts/nixos-framework/disks.nix index a6ce45ac..44985634 100644 --- a/nixos/hosts/nixos-framework/disks.nix +++ b/nixos/hosts/nixos-framework/disks.nix @@ -72,6 +72,7 @@ type = "luks"; name = "SWAP"; settings = { + keyFile = "/etc/swap.key"; allowDiscards = true; }; content = {