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