summaryrefslogtreecommitdiff
path: root/modules/root/normaluser.nix
blob: 88eb3389237dc750bcd97c387e69d1905c54262b (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;
		isNormalUser = true;
		hashedPasswordFile = config.sops.secrets.hashed-root-password.path;
		extraGroups = [
			"i2c"
			"nixbld"
			"video"
			"wheel"
		];
	};
}