19 lines
350 B
Nix
19 lines
350 B
Nix
|
{ config, systemConfig, ... }:
|
||
|
let
|
||
|
username = systemConfig.username;
|
||
|
in
|
||
|
{
|
||
|
users = {
|
||
|
mutableUsers = false;
|
||
|
users.${username} = {
|
||
|
isNormalUser = true;
|
||
|
hashedPasswordFile = config.sops.secrets.password-hash.path;
|
||
|
description = username;
|
||
|
extraGroups = [
|
||
|
"networkmanager"
|
||
|
"wheel"
|
||
|
];
|
||
|
};
|
||
|
};
|
||
|
}
|