nixpkgs/pkgs
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
..
applications sway: respect systemdSupport and dbusSupport (#160972) 2022-03-06 13:39:31 +01:00
build-support Merge pull request #160189 from evils/appimage-gmp 2022-03-06 10:01:54 +02:00
common-updater
data Merge pull request #161958 from c0bw3b/data/spdx_all_formats 2022-03-05 14:41:35 +01:00
desktops Merge pull request #161443 from aanderse/krunner-ssh 2022-03-04 14:46:52 +01:00
development Merge pull request #162989 from fabaff/bump-checkov 2022-03-06 13:06:56 +01:00
games Merge pull request #161922 from jyooru/remove/steam-fonts 2022-03-06 10:16:11 +02:00
misc lilypond: 2.22.1 -> 2.22.2 2022-03-04 20:41:47 -06:00
os-specific Merge pull request #161007 from a-m-joseph/busybox-allow-disabling-applet-symlinks 2022-03-06 07:06:33 +02:00
pkgs-lib pkgs-lib: Implement settings format for Elixir 2022-02-28 07:09:10 -05:00
servers Merge pull request #162830 from rhoriguchi/adguardhome 2022-03-06 17:59:10 +08:00
shells bash: use default PATH in FHS environments 2022-02-27 15:59:39 -08:00
stdenv
test
tools Merge pull request #162963 from r-ryantm/auto-update/kdiff3 2022-03-06 12:09:08 +02:00
top-level remove networkmanager098 (#162904) 2022-03-05 22:19:36 +02:00