-
-
Notifications
You must be signed in to change notification settings - Fork 15.3k
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
installer: autorun xserver in graphical media #46997
Conversation
I would like to know why it wasn't the default. There is probably a reason behind, and knowing it helps ensuring we don't cause any unintended issues. Though, I think this requires the one important sub-feature: the installer media should present an option that disables the |
It seems it was a while ago nixpkgs/modules/profiles/graphical.nix Line 12 in f3cc01b
Was this perceived as a necessary addendum to the feature suggested by @adisbladis? |
Yes, sorry, bad habit, jumped the gun and added my thoughts before reading that this was already in the body of your PR. This is one way the boot option can be implemented. |
No problem, I'm guilty of the same thing too when I'm busy. |
If there's an agreement to needing this feature implicitly then I'd say that this is blocked until |
Unless I'm misunderstanding, probably no relation. The installer iso has a different menu generation entirely from the installed system. Around here a new option can be added (class is used to get an icon in the menu). |
Any updates on this pull request, please? |
I plan to pick this up again after the 19.09 release. |
9e90d57
to
78411cb
Compare
Ok, rebased and added a quirk to disable the display-manager. |
I've tested running the graphical media
|
# If we boot into a graphical environment where X is autorunned | ||
# and always crashes, it makes the media unusable. Allow the user | ||
# to disable this. | ||
submenu "Disable display-manager" --class quirk-disable-displaymanager { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We can introduce an icon, if desired, and if one can be composed. They are composed from the breeze icon theme. If you see something in it that can be adapted, or used as an inspiration I can look into adding it to the relevant artwork.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I found breeze/devices/64/video-display.svg the most suitable.
I mostly wanted something like just a blank monitor, or communicates a tty.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Oh, forgot to specify the symbolic icons. Though the one from breeze, once made into outlines, may work, I'll try to remember to look into it later. (The PR can be merged without that change.)
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Ahh, there's computer/video-display symbolic icons that should be fine then.
I'll add an issue at nixos-artwork for that once merged @samueldr.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Minor stuff, generally approving the change.
@samueldr My English and personality is literally a neologism 🤣 Thanks for the suggestions, will try to implement. |
3cfc53f
to
159b12b
Compare
Rebased and resolved the conflicts in the release note. |
Motivation for this change
When I first used the NixOS iso I found it confusing and strange to have to do
systemctl start display-manager
. I assumed that I would have went straight to the graphical environment.If anyone has a reason as to why it shouldn't do this please share.
Notes
In #42610 @adisbladis suggested:
Wouldn't this need #45345 to include that configuration as a child config in the grub menu?
Though I feel that might be to complex.
Things done
sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)nix path-info -S
before and after)cc @samueldr @xeji @grahamc