fix slow rebuild by not triggering timers accidentally
This commit is contained in:
@@ -8,4 +8,8 @@
|
|||||||
tokenFile = config.age.secrets.duckdns.path;
|
tokenFile = config.age.secrets.duckdns.path;
|
||||||
domains = [ "kavita-kopatz" ];
|
domains = [ "kavita-kopatz" ];
|
||||||
};
|
};
|
||||||
|
systemd.services.duckdns = {
|
||||||
|
wantedBy = lib.mkForce [];
|
||||||
|
startAt = lib.mkForce "daily";
|
||||||
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -80,8 +80,6 @@ in {
|
|||||||
after = [ "nginx.service" ] ++ lib.optional useStepCa "step-ca.service";
|
after = [ "nginx.service" ] ++ lib.optional useStepCa "step-ca.service";
|
||||||
};
|
};
|
||||||
download-manga = mkIf cfg.autoDownload {
|
download-manga = mkIf cfg.autoDownload {
|
||||||
wantedBy = [ "multi-user.target" ];
|
|
||||||
|
|
||||||
wants = [ "network-online.target" ];
|
wants = [ "network-online.target" ];
|
||||||
after = [ "network-online.target" ];
|
after = [ "network-online.target" ];
|
||||||
startAt = "*-*-* 19:00:00";
|
startAt = "*-*-* 19:00:00";
|
||||||
|
|||||||
@@ -2,7 +2,7 @@
|
|||||||
networking.firewall.allowedTCPPorts = [ 22 ];
|
networking.firewall.allowedTCPPorts = [ 22 ];
|
||||||
services.openssh = {
|
services.openssh = {
|
||||||
enable = true;
|
enable = true;
|
||||||
allowSFTP = false;
|
allowSFTP = true;
|
||||||
settings.PasswordAuthentication = false;
|
settings.PasswordAuthentication = false;
|
||||||
settings.KbdInteractiveAuthentication = false;
|
settings.KbdInteractiveAuthentication = false;
|
||||||
settings.X11Forwarding = false;
|
settings.X11Forwarding = false;
|
||||||
|
|||||||
@@ -84,11 +84,6 @@ in {
|
|||||||
path = "${cfg.basePath}/no_backup";
|
path = "${cfg.basePath}/no_backup";
|
||||||
devices = [ "kop-pc" "server" "laptop" ];
|
devices = [ "kop-pc" "server" "laptop" ];
|
||||||
};
|
};
|
||||||
folders."emu" = {
|
|
||||||
id = "emu";
|
|
||||||
path = "${cfg.basePath}/emu";
|
|
||||||
devices = [ "kop-pc" "server" ];
|
|
||||||
};
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user