blob: 3bb9adc476c724e3b60d701ee545c5e035810fe7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
|
{ 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"
"libvirtd"
"nixbld"
"video"
"wheel"
];
};
}
|