{ config, lib, pkgs, ... }: let repo-updater = pkgs.writeShellScriptBin "repo-updater" (builtins.readFile ../../scripts/gitea/update-repo.sh); in { # Automate updating rust utility flake systemd.services."rust-util-update" = { script = '' ${repo-updater}/bin/repo-updater gitea@git.stranger.systems:nix/Rust.git trunk ''; serviceConfig = { Type = "oneshot"; User = "nathan"; }; }; }