From 776960986c02053c6b45431d5e9b65f9cbadddfb Mon Sep 17 00:00:00 2001 From: Illia Chub Date: Wed, 23 Dec 2020 16:22:52 +0200 Subject: [PATCH] Fixed character escaping --- nixos-infect | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/nixos-infect b/nixos-infect index 92c6e9c..ceace31 100755 --- a/nixos-infect +++ b/nixos-infect @@ -35,7 +35,7 @@ makeConf() { $network_import $NIXOS_IMPORT ./mailserver/system/mailserver.nix - ./api/uwsgi.nix + #./api/uwsgi.nix ./letsencrypt/acme.nix ./letsencrypt/certbot.nix ./backup/restic.nix @@ -173,7 +173,7 @@ EOF EOF cat > /etc/nixos/letsencrypt/certbot.nix << EOF -'{ pkgs, ... }: +{ pkgs, ... }: { systemd = { timers.certbot-renew = { @@ -187,11 +187,11 @@ EOF ]; serviceConfig = { Type = "oneshot"; - ExecStart = "${pkgs.letsencrypt}/bin/certbot renew"; + ExecStart = "\${pkgs.letsencrypt}/bin/certbot renew"; }; }; }; -}' +} EOF cat > /etc/nixos/backup/restic.nix << EOF