Benjamin Bädorf
6d1d683b23
The swayidle command in the service was straight up broken, this commit fixes that. Environment Variables set in the `session-variables` file are now correctly imported across the system. This fixes `EDITOR` defaulting to `nano`.
7 lines
288 B
Nix
7 lines
288 B
Nix
self: with self; ''
|
|
# first import environment variables from the login manager
|
|
systemctl --user import-environment $IMPORT_ENVIRONMENT_ENV_LIST DISPLAY WAYLAND_DISPLAY SWAYSOCK XDG_CURRENT_DESKTOP PATH;
|
|
# then start the service
|
|
exec systemctl --wait --user start sway.service
|
|
''
|