summaryrefslogtreecommitdiff
path: root/modules/root/normaluser.nix
blob: fc243ea2e3ebd31172ecbb7989d8861c49f202d9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
{ 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 = [ "wheel" "nixbld" ];
	};
}