From 4371a1301c4d36cc791069d90ae522613a3a335e Mon Sep 17 00:00:00 2001 From: Sebastian Sellmeier Date: Sun, 21 Apr 2024 17:54:26 +0200 Subject: [PATCH] home-manager: minor oversight cleanup --- modules/home-manager/sops.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/home-manager/sops.nix b/modules/home-manager/sops.nix index c6a8768..a772868 100644 --- a/modules/home-manager/sops.nix +++ b/modules/home-manager/sops.nix @@ -277,7 +277,7 @@ in { systemdStatus=$(${systemctl} --user is-system-running 2>&1 || true) if [[ $systemdStatus == 'running' ]]; then - ${config.systemd.user.systemctlPath} restart --user sops-nix + ${systemctl} restart --user sops-nix else echo "User systemd daemon not running. Probably executed on boot where no manual start/reload is needed." fi