How to get rid of home-manager?

I started with nixOS a few weeks ago and generally like it.
However, being new to it, home-manager was too much for me as I never got it to work properly.
Now I can’t get rid of it. I tried uninstalling it, but it does not help!

if I type the command: home-manager, it’s not found.
home-manager: command not found

BUT: it’s still in my system and I can’t get rid of it!

lrwxrwxrwx  1 f13r users   76 Apr 16 13:05 .bash_profile -> /nix/store/pdy7k1c1s4xks1mi12420yqnsdzhd976-home-manager-files/.bash_profile
lrwxrwxrwx  1 f13r users   70 Apr 16 13:05 .bashrc -> /nix/store/pdy7k1c1s4xks1mi12420yqnsdzhd976-home-manager-files/.bashrc
lrwxrwxrwx  1 f13r users   71 Apr 16 13:05 .profile -> /nix/store/pdy7k1c1s4xks1mi12420yqnsdzhd976-home-manager-files/.profile

Any help is highly appreciated!

Did you delete the home-manager config? If not can try the following:

nix run home-manager/release-23.11 -- uninstall
2 Likes

thank you so much - this solved my issue!

1 Like