fix(plasma): security mistake
without `exec`, if you're able to log out when the screen is locked, you're also able to go right into a tty. oops. note that this is untested since I no longer use plasma
This commit is contained in:
parent
d475051f88
commit
3540ba374d
1 changed files with 1 additions and 1 deletions
|
|
@ -43,7 +43,7 @@ in
|
|||
|
||||
environment.interactiveShellInit =
|
||||
lib.mkIf cfg.startOnFirstTTY
|
||||
/* sh */ "test $(tty) = /dev/tty1 && startplasma-wayland";
|
||||
/* sh */ "test $(tty) = /dev/tty1 && exec startplasma-wayland";
|
||||
|
||||
services.displayManager.sddm.enable = lib.mkIf cfg.startOnFirstTTY false;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue