From acce97b8d431f27d696d57654930ff905f40f7b8 Mon Sep 17 00:00:00 2001 From: Alex Auvolat Date: Sat, 18 May 2024 21:47:22 +0200 Subject: kusanagi: automatic login to sway session --- nixos/kusanagi.nix | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'nixos/kusanagi.nix') diff --git a/nixos/kusanagi.nix b/nixos/kusanagi.nix index 0b2bdbc..1a4a662 100644 --- a/nixos/kusanagi.nix +++ b/nixos/kusanagi.nix @@ -128,6 +128,13 @@ in Option "TearFree" "true" ''; + # ---- automatic login ---- + + services.xserver.displayManager.defaultSession = "sway"; + services.xserver.displayManager.lightdm.enable = true; + services.xserver.displayManager.autoLogin.enable = true; + services.xserver.displayManager.autoLogin.user = "lx"; + # ---- specialization with extra stuff specialisation."extra".configuration = { pkgs, ...}: { -- cgit v1.2.3