home-manager: fix nix-env uninstall command

This commit is contained in:
Robert Helgesson 2023-03-07 22:15:12 +01:00
parent defd16c5d5
commit 0f3dfc16d0
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89

View file

@ -24,7 +24,7 @@ function setNixProfileCommands() {
REMOVE_CMD="removeByName"
else
LIST_OUTPATH_CMD="nix-env -q --out-path"
REMOVE_CMD="nix-env -q"
REMOVE_CMD="nix-env --uninstall"
fi
}