pub-solar-os/pkgs/sway-service.nix

7 lines
288 B
Nix
Raw Normal View History

2021-05-30 19:10:28 +00:00
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;
2021-05-30 19:10:28 +00:00
# then start the service
exec systemctl --wait --user start sway.service
''