mirror of
https://git.selfprivacy.org/SelfPrivacy/selfprivacy-nixos-infect.git
synced 2024-11-22 12:01:27 +00:00
Fixed character escaping
This commit is contained in:
parent
776960986c
commit
f5f5920f86
24
nixos-infect
24
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
|
||||
|
|
Loading…
Reference in a new issue