🚚 [shared] Added shared config that shared desktop config inherits from
This commit is contained in:
15
shared/desktop/modules/users.nix
Normal file
15
shared/desktop/modules/users.nix
Normal file
@ -0,0 +1,15 @@
|
||||
{ config, systemConfig, ... }:
|
||||
let
|
||||
username = systemConfig.username;
|
||||
in
|
||||
{
|
||||
users.users.${username} = {
|
||||
isNormalUser = true;
|
||||
hashedPasswordFile = config.sops.secrets.password-hash.path;
|
||||
description = username;
|
||||
extraGroups = [
|
||||
"networkmanager"
|
||||
"wheel"
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user