diff --git a/.forgejo/workflows/nightly-update.yaml b/.forgejo/workflows/nightly-update.yaml index 135df61..b4f9409 100644 --- a/.forgejo/workflows/nightly-update.yaml +++ b/.forgejo/workflows/nightly-update.yaml @@ -2,7 +2,7 @@ on: schedule: - cron: 0 */6 * * * jobs: - UpdateFlake: + update: runs-on: native steps: - name: Check out repository code @@ -18,3 +18,13 @@ jobs: git commit -a -m "chore: update flake" - name: Push changes run: git push + + - name: Build Loptland + run: | + cd ${{ env.FORGEJO_WORKSPACE }} + nix build .#nixosConfigurations.loptland.config.system.build.toplevel + + - name: Build Yggdrasil + run: | + cd ${{ env.FORGEJO_WORKSPACE }} + nix build .#nixosConfigurations.yggdrasil.config.system.build.toplevel diff --git a/modules/hosts/loptland/default.nix b/modules/hosts/loptland/default.nix index 94d724f..10020f3 100644 --- a/modules/hosts/loptland/default.nix +++ b/modules/hosts/loptland/default.nix @@ -101,7 +101,7 @@ in ]; } { - hostName = "100.90.93.35"; + hostName = "nixberry"; sshUser = "remotebuild"; sshKey = "/root/.ssh/remotebuild"; systems = [ "aarch64-linux" ];