nixpkgs/pkgs/applications
Adam Joseph c7a7acb034
sway: respect systemdSupport and dbusSupport (#160972)
Sway can be compiled with or without systemd(-logind) and dbus.  This
commit exposes that support via the global systemdSupport and
dbusSupport arguments, which are understood by many other nixpkgs
expressions and can be set globally in ~/.config/nixpkgs/config.nix.

This commit also adds a third argument, trayEnabled, which allows to
disable sway's tray.  The tray requires dbusSupport and
systemdSupport.

Reviewers of this commit asked for potential use cases.  There are
many of them; a very non-exhaustive list includes:

* Use of nixpkgs on operating systems which systemd does not support,
  such as MacOS/Darwin, FreeBSD, OpenBSD, or Alpine Linux.

* Use of nixpkgs on *-musl platforms, which systemd does not
  officially support (out-of-tree patches to support musl exist for a
  few systemd versions).

* Use of sway in situations where dbus is inappropriate, such as
  sway's "kiosk mode".

* High-security environments, where the additional attack surface
  exposed by dbus outweighs any features it may offer.

This is a very non-exhaustive list.
2022-03-06 13:39:31 +01:00
..
accessibility contrast: 0.0.3 → 0.0.5 2022-02-09 13:50:25 +08:00
audio csound: 6.16.2 -> 6.17.0 2022-03-06 11:34:58 +01:00
backup deja-dup: 42.8 → 43.2 2022-02-09 22:40:17 +01:00
blockchains Merge pull request #162156 from r-ryantm/auto-update/erigon 2022-03-05 15:08:17 +01:00
display-managers
editors Merge pull request #162905 from newAM/vsce-latex-workshop 2022-03-06 10:22:49 +08:00
emulators ryujinx: 1.0.7168 -> 1.1.54 2022-02-28 19:05:58 +00:00
finance/odoo odoo: fix package: use werkzeug v1 2022-02-01 13:25:06 +01:00
gis qgis-ltr: add willcohen to maintainers 2022-02-27 22:30:33 +01:00
graphics Merge pull request #162971 from r-ryantm/auto-update/foxotron 2022-03-06 20:37:59 +08:00
kde zanshin: move to pkgs/application/kde 2022-03-01 10:33:44 +08:00
logging/humioctl
misc Merge pull request #162974 from r-ryantm/auto-update/mkgmap 2022-03-06 12:18:15 +02:00
networking Merge pull request #162926 from primeos/ungoogled-chromium 2022-03-06 12:18:28 +01:00
office Merge pull request #158048 from symphorien/paperwork-update-script 2022-03-05 14:06:23 +00:00
plasma-mobile
printing/pappl
qubes/qubes-core-vchan-xen
radio urh: 2.9.2 -> 2.9.3 2022-03-02 18:42:30 +00:00
science Merge pull request #161194 from wucke13/mission-planner 2022-03-06 13:28:50 +08:00
search
system
terminal-emulators Merge pull request #162242 from r-ryantm/auto-update/xterm 2022-03-05 15:07:10 +01:00
version-management github-desktop: 2.9.6 -> 2.9.9 2022-03-06 11:19:48 +07:00
video streamlink: 3.1.1 -> 3.2.0 2022-03-05 15:37:40 -05:00
virtualization Merge #158849: looking-glass-client: disable native optimizations 2022-03-05 07:51:09 +01:00
window-managers sway: respect systemdSupport and dbusSupport (#160972) 2022-03-06 13:39:31 +01:00