From e5eed599534df85459b720d44c873c45e756b73d Mon Sep 17 00:00:00 2001 From: sils Date: Fri, 9 Dec 2022 22:31:05 +0100 Subject: enable autologin --- users.nix | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) (limited to 'users.nix') diff --git a/users.nix b/users.nix index 870abb7..f843634 100644 --- a/users.nix +++ b/users.nix @@ -1,13 +1,19 @@ { config, pkgs, ... }: { - users.mutableUsers = false; - users.users.sils = { - isNormalUser = true; - home = "/home/sils"; - shell = pkgs.zsh; - initialHashedPassword = "$y$j9T$r4578Hy9jZHmUH9uSr9OI.$SuR2anRq7EJ1gUJ6vi9qYmZrhLP.o3O5643IG6r5Ap/"; - extraGroups = [ "wheel" "networkmanager"]; + users = { + mutableUsers = false; + users.sils = { + isNormalUser = true; + home = "/home/sils"; + shell = pkgs.zsh; + initialHashedPassword = "$y$j9T$r4578Hy9jZHmUH9uSr9OI.$SuR2anRq7EJ1gUJ6vi9qYmZrhLP.o3O5643IG6r5Ap/"; + extraGroups = [ "wheel" "networkmanager"]; + }; + }; + services.xserver.displayManager.autoLogin = { + enable = true; + user = "sils"; }; } -- cgit 1.4.1