r/NixOS • u/inteluser_ • 8d ago
Packages arent getting uninstalled even though i removed it in configuration.nix
For example, if i installed plasma-login-manager (services.displayManager.plasma-login-manager.enable) earlier but i want to remove PLM and use SDDM instead so i just remove PLM's configuration and add SDDM in and run nixos-rebuild switch, then reboot. But after a reboot, PLM still coexists with SDDM and still being set as default instead of SDDM. I'm new to Nix so i will be happy if someone can explain it and have a way to fix it :)
5
Upvotes
11
u/DallasGriffin 8d ago
Insert 1 configuration.nix to continue playing.
Fr though, it'll be much easier to assist you if you provide us code/gh link
4
u/Quietus87 8d ago
What output does switch cough up?