Hi I am new to nixos and only have minimal experience in Ubuntu so I doubt I did everything but I cant find what Im looking for.
Problem: Ferdium which I initially installed through the config file, and also uninstalled by removing the line in the config file still opens on reboot. I cant open it up after closing it, and it only opens on reboot.
I’ve tried garbage clean up, building boot and then garbage clean up again but the problem still occurs. I checked in htop for the process and I get this.
You can use nix why-depends to figure out why it hasn’t been deleted by the garbage collect.
Your auto-start was presumably set up imperatively, and the .desktop file which is responsible for it uses the path in the nix store to open ferdium. Since it hasn’t been garbage collected (because something else keeps a reference to it), it will continue to hang around.
You can of course just delete the autostart for it, but you probably would like to know what’s still holding onto it. Note that this could also be done by some unwise use of nix-env, nix profile or standalone home-manager.