From 5db594897b481828b58c074acf76a6a8a33d70be Mon Sep 17 00:00:00 2001 From: hermes-bot Date: Wed, 22 Jul 2026 13:08:35 -0300 Subject: [PATCH] fix: use single-line ExecStart string for systemd compat The indented string ('''...''') included newlines + spaces in the systemd unit file, which systemd rejected with 'expected entry key name but got /'. Use a plain double-quoted string instead so ExecStart stays on one line. --- .gitignore | 1 + modules/home-manager/ntfy-notify/default.nix | 4 +--- 2 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 .gitignore diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..e458ed5 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.worktrees/ diff --git a/modules/home-manager/ntfy-notify/default.nix b/modules/home-manager/ntfy-notify/default.nix index 71c2ff2..645a2f0 100644 --- a/modules/home-manager/ntfy-notify/default.nix +++ b/modules/home-manager/ntfy-notify/default.nix @@ -80,9 +80,7 @@ in }; Service = { Type = "simple"; - ExecStart = '' - ${pkgs.ntfy-sh}/bin/ntfy subscribe - ''; + ExecStart = "${pkgs.ntfy-sh}/bin/ntfy subscribe"; Restart = "on-failure"; RestartSec = 10; };