os/pkgs/sway-service.nix

8 lines
201 B
Nix
Raw Normal View History

2022-11-20 22:28:23 +00:00
self:
with self; ''
2021-05-30 19:10:28 +00:00
# first import environment variables from the login manager
2022-08-25 13:17:17 +00:00
systemctl --user import-environment;
2021-05-30 19:10:28 +00:00
# then start the service
exec systemctl --wait --user start sway.service
''