From 8b5e6cfeed2b5c7088cdf8a98bacee72ad6cabd4 Mon Sep 17 00:00:00 2001 From: sils Date: Thu, 20 Apr 2023 18:25:45 +0200 Subject: Feat(structure): Restructured repository This is mainly convenience and my personal preference. --- common/users/default.nix | 22 ++++++++++++++++++++++ 1 file changed, 22 insertions(+) create mode 100644 common/users/default.nix (limited to 'common/users/default.nix') 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"; + }; +} -- cgit 1.4.1