summary refs log tree commit diff stats
path: root/users.nix
diff options
context:
space:
mode:
authorsils <sils@sils.li>2022-12-09 22:31:05 +0100
committersils <sils@sils.li>2022-12-09 22:31:05 +0100
commite5eed599534df85459b720d44c873c45e756b73d (patch)
tree9edb75284f7ee0eeef6a9f36a208193dd82ba5c8 /users.nix
parentrecognize zsh.nix (diff)
downloadnix-config-e5eed599534df85459b720d44c873c45e756b73d.tar.gz
nix-config-e5eed599534df85459b720d44c873c45e756b73d.zip
enable autologin
Diffstat (limited to '')
-rw-r--r--users.nix20
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";
    };
 
 }