From 6502b3a36e53dbf0eec678924dcf6dec67bca988 Mon Sep 17 00:00:00 2001 From: TudbuT Date: Fri, 15 Nov 2024 21:22:41 +0100 Subject: [PATCH] nixos-edit: dont use sudo for helix --- nixos-edit.script.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/nixos-edit.script.nix b/nixos-edit.script.nix index 18234be..f7850f2 100644 --- a/nixos-edit.script.nix +++ b/nixos-edit.script.nix @@ -95,7 +95,7 @@ pkgs.writeShellScriptBin "nixos-edit" '' git pull --rebase fi if [ "$1" = "edit" ] || [ "$1" = "" ] || [ "$1" = "test" ] ; then - sudo hx . + hx . fi if [ "$1" = "add" ] ; then sed -i -E "s/#marker.pkgs.end#/$2\n #marker.pkgs.end#/" home.nix