From 4eaf76cf1e0af9ec7a630320bb7d4956041dd03e Mon Sep 17 00:00:00 2001 From: sils Date: Thu, 4 May 2023 18:17:38 +0200 Subject: Structure(treewide): Use new structure with home-manager home-manager enables great possibilities and is part of simplifying the structure of my config. --- sys/users/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 sys/users/default.nix (limited to 'sys/users') diff --git a/sys/users/default.nix b/sys/users/default.nix new file mode 100644 index 0000000..7f1e7d2 --- /dev/null +++ b/sys/users/default.nix @@ -0,0 +1,22 @@ +{pkgs, ...}: { + users = { + mutableUsers = false; + users.sils = { + isNormalUser = true; + home = "/home/sils"; + shell = pkgs.zsh; + initialHashedPassword = "$y$j9T$r4578Hy9jZHmUH9uSr9OI.$SuR2anRq7EJ1gUJ6vi9qYmZrhLP.o3O5643IG6r5Ap/"; + extraGroups = ["wheel" "networkmanager"]; + }; + users.cnnr = { + isNormalUser = true; + home = "/home/cnnr"; + shell = pkgs.zsh; + initialHashedPassword = "$y$j9T$NFz0d2coUOvl.hL3YRwEY0$8btvXUoWGWwo11ksdt8eIFUljCkpUe0YliEy7l0odU1"; + }; + }; + services.xserver.displayManager.autoLogin = { + enable = true; + user = "sils"; + }; +} -- cgit 1.4.1