Sway: Difference between revisions
→Systemd services: Original snippet does not allow kanshi to connect to the display |
No edit summary |
||
Line 43: | Line 43: | ||
wayland.windowManager.sway = { | wayland.windowManager.sway = { | ||
enable = true; | enable = true; | ||
wrapperFeatures.gtk = true; # Fixes common issues with GTK 3 apps | |||
config = rec { | config = rec { | ||
modifier = "Mod4"; | modifier = "Mod4"; | ||
Line 58: | Line 59: | ||
You might need to active dbus manually from .zshrc to use i.e: dunst, see [https://discourse.nixos.org/t/dunst-crashes-if-run-as-service/27671/2 Dunst crashes if run as service] | You might need to active dbus manually from .zshrc to use i.e: dunst, see [https://discourse.nixos.org/t/dunst-crashes-if-run-as-service/27671/2 Dunst crashes if run as service] | ||
{{Note| | |||
It's recommended to enable a [[Secret Service]] provider, like GNOME Keyring: | |||
{{file|home.nix|nix|<nowiki> | |||
services.gnome-keyring.enable = true; | |||
</nowiki>}} | |||
}} | |||
=== Systemd services === | === Systemd services === |