diff --git a/nixos-infect b/nixos-infect index ceace31..580b38f 100755 --- a/nixos-infect +++ b/nixos-infect @@ -35,9 +35,7 @@ makeConf() { $network_import $NIXOS_IMPORT ./mailserver/system/mailserver.nix - #./api/uwsgi.nix ./letsencrypt/acme.nix - ./letsencrypt/certbot.nix ./backup/restic.nix ./passmgr/bitwarden.nix ./nginx/nginx.nix @@ -170,28 +168,6 @@ EOF }; }; } -EOF - - cat > /etc/nixos/letsencrypt/certbot.nix << EOF -{ pkgs, ... }: -{ - systemd = { - timers.certbot-renew = { - wantedBy = [ "timers.target" ]; - partOf = [ "certbot-renew.service" ]; - timerConfig.OnCalendar = "monthly"; - }; - services.certbot-renew = { - path = with pkgs; [ - letsencrypt - ]; - serviceConfig = { - Type = "oneshot"; - ExecStart = "\${pkgs.letsencrypt}/bin/certbot renew"; - }; - }; - }; -} EOF cat > /etc/nixos/backup/restic.nix << EOF