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 Permalink Normal View History

2021-05-30 19:10:28 +00:00
self:
with self; ''
# 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
''