diff options
author | Adam Joseph <54836058+a-m-joseph@users.noreply.github.com> | 2022-03-06 12:39:31 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2022-03-06 13:39:31 +0100 |
commit | c7a7acb034f090a315d79f05475327919a501cfd (patch) | |
tree | 8fbcb2c494cf9c35585419e099c8f34b45a35e04 /pkgs/tools/networking | |
parent | a943a5d9da64f293b12c9171a2a8bfb8fef46386 (diff) | |
download | nixpkgs-c7a7acb034f090a315d79f05475327919a501cfd.tar nixpkgs-c7a7acb034f090a315d79f05475327919a501cfd.tar.gz nixpkgs-c7a7acb034f090a315d79f05475327919a501cfd.tar.bz2 nixpkgs-c7a7acb034f090a315d79f05475327919a501cfd.tar.lz nixpkgs-c7a7acb034f090a315d79f05475327919a501cfd.tar.xz nixpkgs-c7a7acb034f090a315d79f05475327919a501cfd.tar.zst nixpkgs-c7a7acb034f090a315d79f05475327919a501cfd.zip |
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.
Diffstat (limited to 'pkgs/tools/networking')
0 files changed, 0 insertions, 0 deletions