os/pkgs/sway-service.nix
2022-11-20 23:28:23 +01:00

8 lines
201 B
Nix

self:
with self; ''
# first import environment variables from the login manager
systemctl --user import-environment;
# then start the service
exec systemctl --wait --user start sway.service
''