valkyrie: fix name
This commit is contained in:
parent
b28248d90f
commit
7a2306bbd8
Binary file not shown.
|
@ -5,13 +5,13 @@
|
||||||
./pleroma.nix
|
./pleroma.nix
|
||||||
./pihole.nix
|
./pihole.nix
|
||||||
./dcbot.nix
|
./dcbot.nix
|
||||||
./saveyoursoul.nix
|
./secureyoursoul.nix
|
||||||
];
|
];
|
||||||
services.adguardhome.enable = true;
|
services.adguardhome.enable = true;
|
||||||
|
|
||||||
valkyrieService.pihole.enable = false;
|
valkyrieService.pihole.enable = false;
|
||||||
valkyrieService.pleroma.enable = true;
|
valkyrieService.pleroma.enable = true;
|
||||||
valkyrieService.dcbot.enable = true;
|
valkyrieService.dcbot.enable = true;
|
||||||
valkyrieService.saveyoursoul.enable = true;
|
valkyrieService.secureyoursoul.enable = true;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,25 +1,25 @@
|
||||||
{ config, pkgs, lib, materusArg, ... }:
|
{ 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 =
|
config =
|
||||||
let
|
let
|
||||||
cfg = config.valkyrieService.saveyoursoul;
|
cfg = config.valkyrieService.secureyoursoul;
|
||||||
in
|
in
|
||||||
lib.mkIf cfg.enable {
|
lib.mkIf cfg.enable {
|
||||||
systemd.timers.saveyoursoul = {
|
systemd.timers.secureyoursoul = {
|
||||||
wantedBy = [ "timers.target" ];
|
wantedBy = [ "timers.target" ];
|
||||||
timerConfig = {
|
timerConfig = {
|
||||||
OnCalendar = "*-*-1,7,14,21 3:00:00";
|
OnCalendar = "*-*-1,7,14,21 3:00:00";
|
||||||
Persistent = true;
|
Persistent = true;
|
||||||
Unit = "saveyoursoul.service";
|
Unit = "secureyoursoul.service";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
systemd.services.saveyoursoul = {
|
systemd.services.secureyoursoul = {
|
||||||
description = "Make curl requests to archive related things";
|
description = "Make curl requests to archive related things";
|
||||||
path = [ pkgs.coreutils pkgs.util-linux pkgs.curl ];
|
path = [ pkgs.coreutils pkgs.util-linux pkgs.curl ];
|
||||||
serviceConfig.Type = "oneshot";
|
serviceConfig.Type = "oneshot";
|
Loading…
Reference in New Issue