Fixed character escaping

This commit is contained in:
Illia Chub 2020-12-23 16:22:52 +02:00
parent 2a330d3855
commit 776960986c

View file

@ -35,7 +35,7 @@ makeConf() {
$network_import $network_import
$NIXOS_IMPORT $NIXOS_IMPORT
./mailserver/system/mailserver.nix ./mailserver/system/mailserver.nix
./api/uwsgi.nix #./api/uwsgi.nix
./letsencrypt/acme.nix ./letsencrypt/acme.nix
./letsencrypt/certbot.nix ./letsencrypt/certbot.nix
./backup/restic.nix ./backup/restic.nix
@ -173,7 +173,7 @@ EOF
EOF EOF
cat > /etc/nixos/letsencrypt/certbot.nix << EOF cat > /etc/nixos/letsencrypt/certbot.nix << EOF
'{ pkgs, ... }: { pkgs, ... }:
{ {
systemd = { systemd = {
timers.certbot-renew = { timers.certbot-renew = {
@ -187,11 +187,11 @@ EOF
]; ];
serviceConfig = { serviceConfig = {
Type = "oneshot"; Type = "oneshot";
ExecStart = "${pkgs.letsencrypt}/bin/certbot renew"; ExecStart = "\${pkgs.letsencrypt}/bin/certbot renew";
}; };
}; };
}; };
}' }
EOF EOF
cat > /etc/nixos/backup/restic.nix << EOF cat > /etc/nixos/backup/restic.nix << EOF