diff --git a/modules/services/duckdns.nix b/modules/services/duckdns.nix index 78b2f3c..ab1fd8f 100644 --- a/modules/services/duckdns.nix +++ b/modules/services/duckdns.nix @@ -8,4 +8,8 @@ tokenFile = config.age.secrets.duckdns.path; domains = [ "kavita-kopatz" ]; }; + systemd.services.duckdns = { + wantedBy = lib.mkForce []; + startAt = lib.mkForce "daily"; + }; } diff --git a/modules/services/kavita.nix b/modules/services/kavita.nix index 86ed5e7..2f438bc 100644 --- a/modules/services/kavita.nix +++ b/modules/services/kavita.nix @@ -70,9 +70,9 @@ in { else config.age.secrets.kavita.path; }; - environment.systemPackages = with pkgs; [ - libgbm - ]; + environment.systemPackages = with pkgs; [ + libgbm + ]; #todo: base url needs new kavita version systemd.services = { @@ -80,8 +80,6 @@ in { after = [ "nginx.service" ] ++ lib.optional useStepCa "step-ca.service"; }; download-manga = mkIf cfg.autoDownload { - wantedBy = [ "multi-user.target" ]; - wants = [ "network-online.target" ]; after = [ "network-online.target" ]; startAt = "*-*-* 19:00:00"; diff --git a/modules/services/ssh.nix b/modules/services/ssh.nix index 5b95717..e45ee9e 100644 --- a/modules/services/ssh.nix +++ b/modules/services/ssh.nix @@ -2,7 +2,7 @@ networking.firewall.allowedTCPPorts = [ 22 ]; services.openssh = { enable = true; - allowSFTP = false; + allowSFTP = true; settings.PasswordAuthentication = false; settings.KbdInteractiveAuthentication = false; settings.X11Forwarding = false; diff --git a/modules/services/syncthing.nix b/modules/services/syncthing.nix index f1c6c7e..01ee95e 100644 --- a/modules/services/syncthing.nix +++ b/modules/services/syncthing.nix @@ -84,11 +84,6 @@ in { path = "${cfg.basePath}/no_backup"; devices = [ "kop-pc" "server" "laptop" ]; }; - folders."emu" = { - id = "emu"; - path = "${cfg.basePath}/emu"; - devices = [ "kop-pc" "server" ]; - }; }; };