mirror of
https://github.com/Stunkymonkey/nixos.git
synced 2026-01-03 06:29:54 +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 {
|
||||
|
||||
# start sway if login happens
|
||||
environment.interactiveShellInit = ''
|
||||
if test `tty` = /dev/tty1; then
|
||||
exec sway
|
||||
fi
|
||||
'';
|
||||
services.displayManager.lemurs = {
|
||||
enable = true;
|
||||
settings.environment_switcher.include_tty_shell = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue