Git: init

This commit is contained in:
blahai 2025-01-09 17:28:51 +02:00
commit ed1aafe645
Signed by: blahai
SSH key fingerprint: SHA256:ZfCryi+V64yG+vC1ZIIsqgvBCmA31tTi7RJ6M8CvpRc
4 changed files with 38 additions and 0 deletions

3
.gitattributes vendored Normal file
View 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
View 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
View file

@ -0,0 +1 @@
result

7
.sops.yaml Normal file
View file

@ -0,0 +1,7 @@
keys:
- &primary age15lv6n403mscyyrfe9a059n5064ncse66taw89mpcf6ut55zfsq0qfh5n02
creation_rules:
- path_regex: secrets/secrets.yaml$
key_groups:
- age:
- *primary