From 149519399e92d3b32befffd10328041498ff64f9 Mon Sep 17 00:00:00 2001 From: Lilly Date: Wed, 7 Jan 2026 13:24:41 +0000 Subject: [PATCH] Auto-commit: 2026-01-07 13:24:41 --- hosts/lillyserver/systemd.nix | 12 ++++++++++++ 1 file changed, 12 insertions(+) diff --git a/hosts/lillyserver/systemd.nix b/hosts/lillyserver/systemd.nix index e69de29..bdc05fd 100644 --- a/hosts/lillyserver/systemd.nix +++ b/hosts/lillyserver/systemd.nix @@ -0,0 +1,12 @@ +{ pkgs, ... }: +{ + systemd.services.crowdsec-prefix = { + enable = true; + description = "Get IPv6 Prefix to add to Crowdsec Whitelist"; + serviceConfig = { + Type = "oneshot"; + ExecStart = "/mnt/lilly-ssd/appdata/crowdsec/crowdsec-prefix-change-script/checkprefix.sh"; + WorkingDirectory = "/mnt/lilly-ssd/appdata/crowdsec/crowdsec-prefix-change-script"; + }; + }; +}