Fixed character escaping

pull/1/head
Illia Chub 2020-12-23 16:29:15 +02:00
parent 776960986c
commit f5f5920f86
1 changed files with 0 additions and 24 deletions

View File

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