diff --git a/modules/systemd.nix b/modules/systemd.nix index 8885c538d..50bc0e346 100644 --- a/modules/systemd.nix +++ b/modules/systemd.nix @@ -251,7 +251,7 @@ in if [[ $systemdStatus == 'running' || $systemdStatus == 'degraded' ]]; then if [[ $systemdStatus == 'degraded' ]]; then warnEcho "The user systemd session is degraded:" - systemctl --user --state=failed + ${systemctl} --user --state=failed warnEcho "Attempting to reload services anyway..." fi