From d67776563ec1f11df401837aa800c212417a6ca6 Mon Sep 17 00:00:00 2001 From: Robert Helgesson Date: Thu, 3 Nov 2022 23:13:29 +0100 Subject: [PATCH] systemd: fix `systemctlPath` default text --- modules/systemd.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/systemd.nix b/modules/systemd.nix index 7a27e95b..6abc2460 100644 --- a/modules/systemd.nix +++ b/modules/systemd.nix @@ -107,7 +107,7 @@ in { systemd.user = { systemctlPath = mkOption { default = "${pkgs.systemd}/bin/systemctl"; - defaultText = "\${pkgs.systemd}/bin/systemctl"; + defaultText = literalExpression ''"''${pkgs.systemd}/bin/systemctl"''; type = types.str; description = '' Absolute path to the systemctl tool. This