16 lines
290 B
Nix

{ config, systemConfig, ... }:
let
username = systemConfig.username;
in
{
users.users.${username} = {
isNormalUser = true;
hashedPasswordFile = config.sops.secrets.password.path;
description = username;
extraGroups = [
"networkmanager"
"wheel"
];
};
}