summary refs log tree commit diff stats
diff options
context:
space:
mode:
-rw-r--r--plasma.nix8
-rw-r--r--users.nix20
2 files changed, 18 insertions, 10 deletions
diff --git a/plasma.nix b/plasma.nix
index 4ed8ee0..412e3d3 100644
--- a/plasma.nix
+++ b/plasma.nix
@@ -1,7 +1,9 @@
 { config, pkgs, ... }:
 
 {
-	services.xserver.enable = true;
-	services.xserver.displayManager.sddm.enable = true;
-	services.xserver.desktopManager.plasma5.enable = true;
+	services.xserver = {
+		enable = true;
+		displayManager.sddm.enable = true;
+		desktopManager.plasma5.enable = true;
+	};
 }
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";
    };
 
 }