From f8cdc8d1d1738fa5925d35e92dc0a36e10e22a28 Mon Sep 17 00:00:00 2001 From: iFargle Date: Mon, 5 Feb 2024 11:24:35 +0900 Subject: [PATCH] test --- .forgejo/workflows/update-flake-lock.yml | 4 +++- nixos/hosts/nixos-framework/disks.nix | 1 + 2 files changed, 4 insertions(+), 1 deletion(-) 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 = {