From 85d1295e040b5ab420e51f7efda4352a7106facb Mon Sep 17 00:00:00 2001 From: Steven Allen Date: Sun, 25 Jan 2026 14:45:03 -0800 Subject: [PATCH] nixos/run0: add a shebang to the run0 sudo-alias script --- nixos/modules/security/run0.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos/modules/security/run0.nix b/nixos/modules/security/run0.nix index 430c03706063..22296a76c95e 100644 --- a/nixos/modules/security/run0.nix +++ b/nixos/modules/security/run0.nix @@ -8,7 +8,7 @@ let cfg = config.security.run0; - sudoAlias = pkgs.writeScriptBin "sudo" '' + sudoAlias = pkgs.writeShellScriptBin "sudo" '' if [[ "$1" == -* ]]; then echo "This script is a sudo-alias to systemd's run0 and does not support any sudo parameters." exit 1