Hello. I am using i3wm, but one day i decided to try KDE plasma. So I replaced windowManager.i3.package = pkgs.i3-gaps with services.xserver.desktopManager.plasma5.enable = true in my configuration.nix and run nixos-rebuild switch. After rolling back to i3 (actually, I didn’t roll back via nix, i just typed git checkout in /etc/nixos) and rebooting, this xorg config
config = ''
Section "Monitor"
Identifier "LVDS1"
Option "ignore" "true"
EndSection
Section "Monitor"
Identifier "VGA1"
EndSection
'';
stopped working, so 2 monitors were powered on. Also, what is the most annoying and important for me, computer started to suspend every 10 minutes after inactivity.
I’ve tried to delete all garbage (sudo nix-collect-garbage -d) and made rollback of root (but without /nix/store) using zfs snapshot before i installed Plasma, but it didn’t help.
What am i doing wrong? How it’s even possible to get two different systems on the same configuration? And how can i fix automatic suspend and xserver config?
I use 19.03 if it’s important. Also, if I stop display-manager(or xserver?), computer does not suspend.