os/pkgs/sway-service.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

8 lines
201 B
Nix
Raw Normal View History

2023-01-28 20:49:10 +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
''