Fixed character escaping

This commit is contained in:
Illia Chub 2020-12-23 16:29:15 +02:00
parent 776960986c
commit f5f5920f86

View file

@ -35,9 +35,7 @@ makeConf() {
$network_import $network_import
$NIXOS_IMPORT $NIXOS_IMPORT
./mailserver/system/mailserver.nix ./mailserver/system/mailserver.nix
#./api/uwsgi.nix
./letsencrypt/acme.nix ./letsencrypt/acme.nix
./letsencrypt/certbot.nix
./backup/restic.nix ./backup/restic.nix
./passmgr/bitwarden.nix ./passmgr/bitwarden.nix
./nginx/nginx.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 EOF
cat > /etc/nixos/backup/restic.nix << EOF cat > /etc/nixos/backup/restic.nix << EOF