commit bd29fbc8bc2274d2f7b669558516944031977bb7
parent 9279328c97fdbf88d8c12d78b3f978e3e0933730
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 13 Sep 2022 19:57:33 +0200
parent 9279328c97fdbf88d8c12d78b3f978e3e0933730
Author: Leah (ctucx) <leah@ctu.cx>
Date: Tue, 13 Sep 2022 19:57:33 +0200
machines/osterei: remove `box-availablilty-checker.nix`
2 files changed, 0 insertions(+), 37 deletions(-)
diff --git a/machines/osterei/box-availablilty-checker.nix b/machines/osterei/box-availablilty-checker.nix @@ -1,36 +0,0 @@ -{ pkgs, ...}: - -{ - systemd = { - services.box-availablilty-checker = { - onFailure = [ "notify-failure@%i.service" ]; - startAt = "*-*-* */6:00:00"; - after = [ "network-online.target" ]; - path = [ pkgs.curl ]; - script = '' - curl --silent https://www.ab-in-die-box.de/b2cde/euroboxen-eurokisten-eurokaesten-nextgen-portable-400x300x220.html 2>&1 | grep "18,37 € - Ausverkauft" - ''; - serviceConfig = { - Type = "oneshot"; - - DynamicUser = true; - - NoNewPrivileges = true; - PrivateTmp = true; - PrivateDevices = true; - - RestrictAddressFamilies = "AF_INET AF_INET6"; - RestrictNamespaces = true; - RestrictRealtime = true; - - ProtectSystem = "full"; - ProtectControlGroups = true; - ProtectKernelModules = true; - ProtectKernelTunables = true; - - DevicePolicy = "closed"; - LockPersonality = true; - }; - }; - }; -}
diff --git a/machines/osterei/configuration.nix b/machines/osterei/configuration.nix @@ -16,7 +16,6 @@ ../../configurations/services/prometheus-node-exporter.nix ./prometheus.nix ./grafana - ./box-availablilty-checker.nix # git server (gitolite+stagit) ./git