Add autoupdate runner + fix a typo in the vaultwarden config

This commit is contained in:
2026-02-18 22:24:55 +01:00
parent 7464e0b710
commit a90960d7a1
2 changed files with 42 additions and 1 deletions

View File

@@ -0,0 +1,41 @@
name: Weekly Flake Update
on:
schedule:
- cron: "0 0 * * 4"
workflow_dispatch:
permissions:
contents: write
jobs:
update_and_check_flake:
runs-on: ubuntu-latest
env:
NIXPKGS_ALLOW_UNFREE: 1
steps:
- name: Install sudo
run: |
apt-get update
apt-get install -y sudo
- uses: https://code.forgejo.org/actions/checkout@v6
- name: Set up Nix
uses: https://github.com/cachix/install-nix-action@v31
with:
github_access_token: ${{ secrets.AHTLONS_GITHUB_TOKEN }} #Fuck github
- name: Run nix flake update
run: nix flake update
- name: Run nix flake check
run: nix flake check --all-systems --verbose
- name: Create Gitea PR
uses: https://github.com/Mai0313/create-pull-request@main
with:
github-server-url: https://git.dynamicdiscord.de
token: ${{ secrets.AHTLONS_GITEA_TOKEN }}
commit-message: 'Update flake.lock'
committer: 'malobot <malobot@systemli.org>'
title: 'Update flake.lock'
assignees: 'ahtlon'

View File

@@ -38,7 +38,7 @@ with lib;
backupDir = "/var/local/vaultwarden/backup";
environmentFile = config.sops.secrets.vaultwarden_env.path;
config = {
DOMAIN = "http://keys.malobeo.org";
DOMAIN = "https://keys.malobeo.org";
SIGNUPS_ALLOWED = true;
#WEBSERVER
ROCKET_ADDRESS = "127.0.0.1";