diff options
Diffstat (limited to 'nixos/kusanagi.nix')
-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, ...}: { |