mirror of
https://github.com/blahai/nyx.git
synced 2025-01-18 11:00:20 +00:00
Git: init
This commit is contained in:
commit
ed1aafe645
4 changed files with 38 additions and 0 deletions
3
.gitattributes
vendored
Normal file
3
.gitattributes
vendored
Normal file
|
@ -0,0 +1,3 @@
|
|||
flake.lock -diff
|
||||
*.css linguist-detectable=false
|
||||
*.css linguist-generated=true
|
27
.github/workflows/flake-update.yml
vendored
Normal file
27
.github/workflows/flake-update.yml
vendored
Normal file
|
@ -0,0 +1,27 @@
|
|||
name: "Update Flake Packages ❄️"
|
||||
on:
|
||||
workflow_dispatch:
|
||||
schedule:
|
||||
- cron: "5 0 * * *"
|
||||
jobs:
|
||||
updateFlakePackages:
|
||||
runs-on: ubuntu-latest
|
||||
steps:
|
||||
- name: Checkout repository
|
||||
uses: actions/checkout@v4
|
||||
- name: Install Nix
|
||||
uses: cachix/install-nix-action@v30
|
||||
- name: Update flake packages
|
||||
run: nix flake update
|
||||
- name: Commit changes
|
||||
run: |
|
||||
git config --global user.name "github-actions[bot]"
|
||||
git config --global user.email "github-actions[bot]@users.noreply.github.com"
|
||||
if [[ $(git status --porcelain) ]]; then
|
||||
git add flake.lock
|
||||
git commit -m "Chore: update flake.lock"
|
||||
git push
|
||||
else
|
||||
echo "No changes to commit"
|
||||
fi
|
||||
|
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
|||
result
|
7
.sops.yaml
Normal file
7
.sops.yaml
Normal file
|
@ -0,0 +1,7 @@
|
|||
keys:
|
||||
- &primary age15lv6n403mscyyrfe9a059n5064ncse66taw89mpcf6ut55zfsq0qfh5n02
|
||||
creation_rules:
|
||||
- path_regex: secrets/secrets.yaml$
|
||||
key_groups:
|
||||
- age:
|
||||
- *primary
|
Loading…
Reference in a new issue