-
-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
nixos-rebuild switch restarted X server #40218
Comments
just added some bogus into:
and rebuilding shows:
|
journalctl -u display-manager.servicehere is the part where the restart takes place...
|
Not sure if it 's for the same reasons or/and because I mixed home-manager i3 config + system's awesome but that did occur to me several times. The way nixos kicks us out of X is kinda violent IMO. I don't know if it can be warned upon/deferred/disallowed with a flag but that could prove helpful. |
see also #37739 |
I think #37739 is a bit different (17.09 -> 18.03, IIRC I was fine on nixos-unstable at the time of that issue) but both seem to be related to systemd. But #39791 could be identical. The same thing happend to me recently on
|
Thank you for your contributions. This has been automatically marked as stale because it has had no activity for 180 days. If this is still important to you, we ask that you leave a comment below. Your comment can be as simple as "still important to me". This lets people see that at least one person still cares about this. Someone will have to do this at most twice a year if there is no other activity. Here are suggestions that might help resolve this more quickly:
|
(Triaging) Hi @qknight, With the changes over the past 6 years, including some I know about, I suspect this particular shouldn't be an issue anymore. If you can still reproduce this issue, please feel free to re-open this issue. (@primeos: same goes to you, if you can reproduce the issue again, feel free to add details and re-open.) To anyone else: if you think you are experiencing a similar issue, please open a new issue. Feel free to cross-reference this issue. It is more likely that you are observing the same symptoms, but are having different issues. |
Issue description
during my last update, which was probably between revision 1445 and 1449 a
nixos-rebuild switch
restarted my X-server which was quite a surprise.i'm not sure where to start but it could either be a systemd dependency which restarted xorg or it could be xorg itself.
nixos/modules/services/x11/xserver.nix
(looks good)nixos/modules/services/x11/window-managers/i3.nix
(looks good)display-manager
the
Restart=always
, is that new?revisions
nix-channel --list
nixos-version
oh and i can't re-trigger this.
The text was updated successfully, but these errors were encountered: