mirror of
https://codeberg.org/tmayoff/.dotfiles.git
synced 2025-12-06 08:48:34 -05:00
Merge branch 'main' of github.com:tmayoff/.dotfiles
This commit is contained in:
commit
66bc8157e6
2 changed files with 37 additions and 15 deletions
22
.github/workflows/flake-updater.yml
vendored
Normal file
22
.github/workflows/flake-updater.yml
vendored
Normal file
|
|
@ -0,0 +1,22 @@
|
||||||
|
name: Update flake.lock
|
||||||
|
|
||||||
|
on:
|
||||||
|
workflow_dispatch: # allows manual triggering
|
||||||
|
schedule:
|
||||||
|
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
|
||||||
|
|
||||||
|
jobs:
|
||||||
|
build:
|
||||||
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
|
steps:
|
||||||
|
- uses: actions/checkout@v4
|
||||||
|
- uses: DeterminateSystems/nix-installer-action@main
|
||||||
|
- uses: DeterminateSystems/update-flake-lock@v24
|
||||||
|
with:
|
||||||
|
pr-title: "Update flake.lock" # Title of PR to be created
|
||||||
|
pr-labels: | # Labels to be set on the PR
|
||||||
|
dependencies
|
||||||
|
automated
|
||||||
|
token: ${{ secrets.FLAKE_PR_TOKEN }}
|
||||||
|
path-to-flake-dir: dot_config/flake/
|
||||||
30
.github/workflows/main.yml
vendored
30
.github/workflows/main.yml
vendored
|
|
@ -1,22 +1,22 @@
|
||||||
name: Update flake.lock
|
|
||||||
|
|
||||||
on:
|
on:
|
||||||
workflow_dispatch: # allows manual triggering
|
push:
|
||||||
schedule:
|
|
||||||
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
|
|
||||||
|
|
||||||
jobs:
|
jobs:
|
||||||
build:
|
build:
|
||||||
|
# strategy:
|
||||||
|
# matrix:
|
||||||
|
# os: [ubuntu-latest, macOS-latest]
|
||||||
|
# host: [wash, mal, hinge]
|
||||||
|
|
||||||
runs-on: ubuntu-latest
|
runs-on: ubuntu-latest
|
||||||
|
|
||||||
steps:
|
steps:
|
||||||
- uses: actions/checkout@v4
|
- uses: actions/checkout@v4
|
||||||
- uses: DeterminateSystems/nix-installer-action@main
|
- uses: DeterminateSystems/nix-installer-action@v16
|
||||||
- uses: DeterminateSystems/update-flake-lock@v24
|
- uses: cachix/cachix-action@v16
|
||||||
with:
|
with:
|
||||||
pr-title: "Update flake.lock" # Title of PR to be created
|
name: tmayoff
|
||||||
pr-labels: | # Labels to be set on the PR
|
authToken: '${{ secrets.CACHIX_AUTH }}'
|
||||||
dependencies
|
- run: |
|
||||||
automated
|
nix build ./dot_config/flake#nixosConfigurations.wash.config.system.build.toplevel
|
||||||
token: ${{ secrets.FLAKE_PR_TOKEN }}
|
|
||||||
path-to-flake-dir: dot_config/flake/
|
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue