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/
|
||||
26
.github/workflows/main.yml
vendored
26
.github/workflows/main.yml
vendored
|
|
@ -1,22 +1,22 @@
|
|||
name: Update flake.lock
|
||||
|
||||
on:
|
||||
workflow_dispatch: # allows manual triggering
|
||||
schedule:
|
||||
- cron: '0 0 * * 0' # runs weekly on Sunday at 00:00
|
||||
push:
|
||||
|
||||
jobs:
|
||||
build:
|
||||
# strategy:
|
||||
# matrix:
|
||||
# os: [ubuntu-latest, macOS-latest]
|
||||
# host: [wash, mal, hinge]
|
||||
|
||||
runs-on: ubuntu-latest
|
||||
|
||||
steps:
|
||||
- uses: actions/checkout@v4
|
||||
- uses: DeterminateSystems/nix-installer-action@main
|
||||
- uses: DeterminateSystems/update-flake-lock@v24
|
||||
- uses: DeterminateSystems/nix-installer-action@v16
|
||||
- uses: cachix/cachix-action@v16
|
||||
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/
|
||||
name: tmayoff
|
||||
authToken: '${{ secrets.CACHIX_AUTH }}'
|
||||
- run: |
|
||||
nix build ./dot_config/flake#nixosConfigurations.wash.config.system.build.toplevel
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue