nixos-edit: fix typo

This commit is contained in:
Daniella / Tove 2024-10-23 10:04:14 +02:00
parent 42ddb11d3c
commit 75515431f8
Signed by: TudbuT
GPG key ID: B3CF345217F202D3

View file

@ -99,7 +99,7 @@ pkgs.writeShellScriptBin "nixos-edit" ''
sudo hx .
fi
if [ "$1" = "add" ] ; then
sed -i -E "s/#marker.pkgs.end#/$2\n #marker.pkgs.end#" home.nix
sed -i -E "s/#marker.pkgs.end#/$2\n #marker.pkgs.end#/" home.nix
git diff
fi
if [ $PUSH = 0 ] ; then