diff options
author | sils <sils@sils.li> | 2022-12-09 22:31:05 +0100 |
---|---|---|
committer | sils <sils@sils.li> | 2022-12-09 22:31:05 +0100 |
commit | e5eed599534df85459b720d44c873c45e756b73d (patch) | |
tree | 9edb75284f7ee0eeef6a9f36a208193dd82ba5c8 /users.nix | |
parent | recognize zsh.nix (diff) | |
download | nix-config-e5eed599534df85459b720d44c873c45e756b73d.tar.gz nix-config-e5eed599534df85459b720d44c873c45e756b73d.zip |
enable autologin
Diffstat (limited to '')
-rw-r--r-- | users.nix | 20 |
1 files changed, 13 insertions, 7 deletions
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"; }; } |