diff --git a/configurations/host/valkyrie/secrets/private/tosave.nix b/configurations/host/valkyrie/secrets/private/tosave.nix index eabd675..7d03a98 100644 Binary files a/configurations/host/valkyrie/secrets/private/tosave.nix and b/configurations/host/valkyrie/secrets/private/tosave.nix differ diff --git a/configurations/host/valkyrie/services/default.nix b/configurations/host/valkyrie/services/default.nix index ae57beb..33bc442 100644 --- a/configurations/host/valkyrie/services/default.nix +++ b/configurations/host/valkyrie/services/default.nix @@ -5,13 +5,13 @@ ./pleroma.nix ./pihole.nix ./dcbot.nix - ./saveyoursoul.nix + ./secureyoursoul.nix ]; services.adguardhome.enable = true; valkyrieService.pihole.enable = false; valkyrieService.pleroma.enable = true; valkyrieService.dcbot.enable = true; - valkyrieService.saveyoursoul.enable = true; + valkyrieService.secureyoursoul.enable = true; } diff --git a/configurations/host/valkyrie/services/saveyoursoul.nix b/configurations/host/valkyrie/services/secureyoursoul.nix similarity index 88% rename from configurations/host/valkyrie/services/saveyoursoul.nix rename to configurations/host/valkyrie/services/secureyoursoul.nix index 7086c0d..8dc25a3 100644 --- a/configurations/host/valkyrie/services/saveyoursoul.nix +++ b/configurations/host/valkyrie/services/secureyoursoul.nix @@ -1,25 +1,25 @@ { config, pkgs, lib, materusArg, ... }: { - options.valkyrieService.saveyoursoul.enable = materusArg.pkgs.lib.mkBoolOpt false "Enable saveyoursoul, web archive"; + options.valkyrieService.secureyoursoul.enable = materusArg.pkgs.lib.mkBoolOpt false "Enable secureyoursoul, web archive"; config = let - cfg = config.valkyrieService.saveyoursoul; + cfg = config.valkyrieService.secureyoursoul; in lib.mkIf cfg.enable { - systemd.timers.saveyoursoul = { + systemd.timers.secureyoursoul = { wantedBy = [ "timers.target" ]; timerConfig = { OnCalendar = "*-*-1,7,14,21 3:00:00"; Persistent = true; - Unit = "saveyoursoul.service"; + Unit = "secureyoursoul.service"; }; }; - systemd.services.saveyoursoul = { + systemd.services.secureyoursoul = { description = "Make curl requests to archive related things"; path = [ pkgs.coreutils pkgs.util-linux pkgs.curl ]; serviceConfig.Type = "oneshot";