This used to live in the old pub-solar/os repository in the `momo/main` branch. This commit changes that so this repository has all code from terraform to nix.
8 lines
201 B
Nix
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
|
|
''
|