Jump to content

Talk:Sway: Difference between revisions

imported>Fadenb
m (Formatting for better readability)
(→‎Change of Wiki: new section)
Line 19: Line 19:
to the environment.systemPackages list in configuration.nix. (If using home manager, this
to the environment.systemPackages list in configuration.nix. (If using home manager, this
might be accomplished by other means.)
might be accomplished by other means.)
== Change of Wiki ==
Scenario:
On readl hardware, I installed nixos with calamares but no desktop environment selected. Then, I proceeded with flakes and home manager proper configuration. Then I tried to follow the sway guide for home manager. It was then that I ran into this issue <https://discourse.nixos.org/t/wlr-errors-when-trying-to-start-sway/28698>. The solution of that thread worked for me.
So, I propose that <hardware.opengl.enable = true>  to be added in the sway with home manager session,
To set up Sway using [[Home Manager]], first you must enable [[Polkit]] in your nix configuration:
security.polkit.enable = true;
Additionally, you must enable opengl in your nix configuration //<<<<NEW LINE 1>>>>
hardware.opengl.enable = true; //<<<<NEW LINE 2>>>>
A general suggestion of 2 new lines can be seen above.
I just registered and I am new to nixos. I don't know the rules about editing the page, so I decided to post it as discussion first.
Thank you! [[User:RafTeog|RafTeog]] ([[User talk:RafTeog|talk]]) 19:31, 2 May 2024 (UTC)
4

edits