Robert Helgesson
eec2272999
tests: various minor cleanups
2023-05-13 00:09:52 +02:00
oxalica
25a9948361
sway: import dbus env vars and explicitly specify them ( #3031 )
...
- Importing all environment variables is considered deprecated for
`systemdctl import-environment`. The list of variables are picked
from:
https://github.com/swaywm/sway/wiki/Systemd-integration#managing-user-applications-with-systemd
The `XDG_CURRENT_DESKTOP` is said to be required for portals, see:
https://github.com/nix-community/home-manager/pull/2385#issuecomment-1026454162
- DBus activation environment should also be updated. Otherwise, DBus
activated programs, without a coresponding systemd service, cannot get a
correct environment and would fail, eg. `mako`.
2022-07-07 11:03:58 -06:00
Robert Helgesson
cb09a968e9
tests: add option test.stubs
...
This option provides a more convenient way to overlay dummy packages.
It also adds a function `config.lib.test.mkStubPackage` that can,
e.g., be used for `package` options.
2021-09-26 23:26:38 +02:00
Michal Sojka
b2dec35b86
Fix eval errors when i3 or sway null configs are null ( #1989 )
2021-05-07 15:39:10 -06:00
Sumner Evans
5c5d562266
sway: add config.seat
...
Added seat configuration to sway config. Also improved the way that the
configuration is generated to reduce superfluous whitespace.
Supersedes #1663
2021-04-11 22:11:22 +02:00