diff --git a/nixos/linux.nix b/nixos/linux.nix index e82b273..df3d857 100644 --- a/nixos/linux.nix +++ b/nixos/linux.nix @@ -83,6 +83,17 @@ in { } ]; + systemd.services.forgejo-arion = { + description = "Forgejo via Arion"; + after = [ "network.target" "podman.service" ]; + wantedBy = [ "multi-user.target" ]; + serviceConfig = { + Type = "oneshot"; + RemainAfterExit = true; + ExecStart = "${start-arion-run}/bin/start-arion-run"; + }; + }; + systemd.tmpfiles.rules = [ "d /home/ironmagma/.config 0755 ${username} users" "d /root/.config 0755 ${username} users"