diff options
author | Alex Auvolat <alex@adnab.me> | 2024-05-18 21:47:22 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2024-05-18 21:47:22 +0200 |
commit | acce97b8d431f27d696d57654930ff905f40f7b8 (patch) | |
tree | 4060b1c6ab9edd37f8868e25c5ae37ce3ec0d29d /nixos | |
parent | 2493d40db6503c0967cc4bc9152fffc4d2fe73a4 (diff) | |
download | user-config-acce97b8d431f27d696d57654930ff905f40f7b8.tar.gz user-config-acce97b8d431f27d696d57654930ff905f40f7b8.zip |
kusanagi: automatic login to sway session
Diffstat (limited to 'nixos')
-rw-r--r-- | nixos/kusanagi.nix | 7 |
1 files changed, 7 insertions, 0 deletions
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, ...}: { |