mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2026-01-02 22:29:52 +01:00
profile/sway/autostart: use lemurs
This commit is contained in:
parent
04bc5181ff
commit
72cd115d77
1 changed files with 4 additions and 7 deletions
|
|
@ -8,12 +8,9 @@ in
|
||||||
};
|
};
|
||||||
|
|
||||||
config = lib.mkIf cfg.enable {
|
config = lib.mkIf cfg.enable {
|
||||||
|
services.displayManager.lemurs = {
|
||||||
# start sway if login happens
|
enable = true;
|
||||||
environment.interactiveShellInit = ''
|
settings.environment_switcher.include_tty_shell = true;
|
||||||
if test `tty` = /dev/tty1; then
|
};
|
||||||
exec sway
|
|
||||||
fi
|
|
||||||
'';
|
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue