fix slow rebuild by not triggering timers accidentally

This commit is contained in:
Kopatz
2025-08-19 10:42:52 +02:00
parent 2c8f5000b6
commit d2104b49bf
4 changed files with 8 additions and 11 deletions

View File

@@ -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";
};
} }

View File

@@ -70,9 +70,9 @@ in {
else else
config.age.secrets.kavita.path; config.age.secrets.kavita.path;
}; };
environment.systemPackages = with pkgs; [ environment.systemPackages = with pkgs; [
libgbm libgbm
]; ];
#todo: base url needs new kavita version #todo: base url needs new kavita version
systemd.services = { systemd.services = {
@@ -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";

View File

@@ -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;

View File

@@ -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" ];
};
}; };
}; };