diff options
author | sils <sils@sils.li> | 2023-04-20 18:25:45 +0200 |
---|---|---|
committer | sils <sils@sils.li> | 2023-04-20 18:31:19 +0200 |
commit | 8b5e6cfeed2b5c7088cdf8a98bacee72ad6cabd4 (patch) | |
tree | bd77dade79e8c7e6f6f3a136d53fd5518d9ffcb9 /common/users | |
parent | Feat(packages.nix): Add pinentry (diff) | |
download | nix-config-8b5e6cfeed2b5c7088cdf8a98bacee72ad6cabd4.tar.gz nix-config-8b5e6cfeed2b5c7088cdf8a98bacee72ad6cabd4.zip |
Feat(structure): Restructured repository
This is mainly convenience and my personal preference.
Diffstat (limited to 'common/users')
-rw-r--r-- | common/users/default.nix | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/common/users/default.nix b/common/users/default.nix new file mode 100644 index 0000000..7f1e7d2 --- /dev/null +++ b/common/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"; + }; +} |