From c020d8e9381dc29e405d9a6f5cdb78944e061cce Mon Sep 17 00:00:00 2001 From: workflow <4farlion@gmail.com> Date: Fri, 27 Dec 2024 14:51:17 +0000 Subject: [PATCH] security: disable session manager autologin --- flake.lock | 2 +- system/desktop.nix | 4 ---- 2 files changed, 1 insertion(+), 5 deletions(-) diff --git a/flake.lock b/flake.lock index 24adbd6..d707029 100644 --- a/flake.lock +++ b/flake.lock @@ -361,7 +361,7 @@ }, "secrets": { "locked": { - "lastModified": 1734864126, + "lastModified": 1735309373, "narHash": "sha256-u8vreqrXpArZk9pHabNNnnLxZSARS31Sffi3S8R2CBk=", "path": "/home/farlion/code/nixos-secrets", "type": "path" diff --git a/system/desktop.nix b/system/desktop.nix index 92600fb..4a79162 100644 --- a/system/desktop.nix +++ b/system/desktop.nix @@ -2,9 +2,6 @@ xsession-name = "i3"; in { services.displayManager = { - autoLogin.enable = true; - autoLogin.user = "farlion"; - defaultSession = xsession-name; }; @@ -14,7 +11,6 @@ in { displayManager = { lightdm = { enable = true; - greeter.enable = false; }; };