I used to have Alacritty installed, but opted to just use xfce4-terminal instead.
So I removed alacritty from my environment.systemPackages, and did “sudo nixos-rebuild switch --upgrade” and “sudo nix-collect-garbage -d” and have done this several times, and have rebooted several times as well. I also ran these commands as user, in case that somehow would do anything.
I am suspecting home manager is to blame here. At one point, I used home manager, and had alacritty enabled there. I decided to not use home manager anyway, and removed it from my configuration and from my channels. But it seems like Alacritty is still being installed (or left) by home manager.
When I run “sudo find / -iname alacritty”, this is the output:
/nix/store/8636r3d8rsk7c3l5xcgb1mn37pkfc84k-ncurses-6.3-p20220507/share/terminfo/a/alacritty
/nix/store/ps1fsi8vj8ppahsigvy56dwk0p5f7rqy-home-manager-path/bin/alacritty
/nix/store/chf3wl0gv139m9qxadg1rzq9wm9a1hwj-home-manager-files/.config/alacritty
/nix/store/7ji068smnymqz2lg2fd42hjnjd5czbl6-ncurses-6.3-p20220507/share/terminfo/a/alacritty
/nix/store/bkqhrr3ph5xagx9lv7syp4gr2a474152-alacritty-0.10.1/bin/alacritty
/nix/store/ycar7pp3bxs6s92lwarc6r15gr23m8ai-nixos-22.05/nixos/pkgs/applications/terminal-emulators/alacritty
/nix/store/k72sm42x1ig3lva2461bm4kjj2w70jr1-ncurses-6.3-p20220507/share/terminfo/a/alacritty
/nix/store/v04272x7747kqzkj23w0kccjyngkw14k-alacritty-0.10.1-terminfo/share/terminfo/a/alacritty
find: ‘/run/user/1001/gvfs’: Permission denied
Home manager shows up despite not being in use anymore. Have I somehow not uninstalled it correctly? Everything else gets removed correctly when I remove it from the configuration and rebuild, but for some reason Alacritty refuses to be uninstalled.