summaryrefslogtreecommitdiff
path: root/modules/root/normaluser.nix
blob: b4be0cc75e23cff0b91b85fb6203d2746abc19bb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
{ config, userDetails, ... }: {
	users.users.root = {
		hashedPasswordFile = config.sops.secrets.hashed-root-password.path;
	};
	users.users.${userDetails.username} = {
		description = userDetails.fullname;
		#home = userDetails.home.root;
		isNormalUser = true;
		hashedPasswordFile = config.sops.secrets.hashed-root-password.path;
		extraGroups = [
			"i2c"
			"nixbld"
			"video"
			"wheel"
		];
	};
}