mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-31 15:47:21 +02:00
fix(shoukei): restore tuigreet login, autologin bypassed the lock screen
greetd ran the niri session directly, so exiting the session (e.g. logout from the lock screen) made greetd immediately restart the desktop with no authentication.
This commit is contained in:
@@ -10,9 +10,9 @@
|
|||||||
nixos-apple-silicon.nixosModules.default
|
nixos-apple-silicon.nixosModules.default
|
||||||
];
|
];
|
||||||
|
|
||||||
# NOTE:macbook do not have a tpm2 device for luks auto unlock
|
# NOTE: do NOT autologin here (a bare session command = greetd restarts the desktop
|
||||||
# we have to enter the luks passphrase on boot, so remove login manager here to reduce the pain.
|
# without any authentication whenever the session exits, e.g. logout from the lock
|
||||||
services.greetd.settings.default_session.command = lib.mkForce "$HOME/.wayland-session";
|
# screen would bypass it entirely). Keep tuigreet from modules/nixos/desktop.nix.
|
||||||
|
|
||||||
zramSwap.memoryPercent = lib.mkForce 75;
|
zramSwap.memoryPercent = lib.mkForce 75;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user