mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 05:03:09 +00:00
parent
9a473b693a
commit
2c6a023744
1 changed files with 1 additions and 0 deletions
|
@ -368,6 +368,7 @@ function doUninstall() {
|
||||||
HOME_MANAGER_CONFIG="$(mktemp --tmpdir home-manager.XXXXXXXXXX)"
|
HOME_MANAGER_CONFIG="$(mktemp --tmpdir home-manager.XXXXXXXXXX)"
|
||||||
echo "{ lib, ... }: { home.file = lib.mkForce {}; }" > "$HOME_MANAGER_CONFIG"
|
echo "{ lib, ... }: { home.file = lib.mkForce {}; }" > "$HOME_MANAGER_CONFIG"
|
||||||
doSwitch
|
doSwitch
|
||||||
|
$DRY_RUN_CMD nix-env -e home-manager-path || true
|
||||||
rm "$HOME_MANAGER_CONFIG"
|
rm "$HOME_MANAGER_CONFIG"
|
||||||
$DRY_RUN_CMD rm $VERBOSE_ARG -r \
|
$DRY_RUN_CMD rm $VERBOSE_ARG -r \
|
||||||
"${XDG_DATA_HOME:-$HOME/.local/share}/home-manager"
|
"${XDG_DATA_HOME:-$HOME/.local/share}/home-manager"
|
||||||
|
|
Loading…
Reference in a new issue