Setup users.
This commit is contained in:
@@ -13,6 +13,7 @@
|
||||
./system/bluetooth.nix
|
||||
./system/locale.nix
|
||||
./system/time.nix
|
||||
./system/users.nix
|
||||
];
|
||||
|
||||
nixpkgs = {
|
||||
|
||||
11
nodes/hosts/common/system/users.nix
Normal file
11
nodes/hosts/common/system/users.nix
Normal file
@@ -0,0 +1,11 @@
|
||||
{ config, ... }: {
|
||||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||||
users.users.jay = {
|
||||
isNormalUser = true;
|
||||
description = "jay";
|
||||
#hashedPasswordFile = config.sops.secrets.password_hash.path;
|
||||
hashedPassword = "$6$RTOXVXRP1iLIXnQb$rVtTeqlJ7g3AcZgftmVdKFnT2ggCsnVayPlT4beLST9Oz2LHGT2fdcOC/yaQkISK3wzFLqh47fSHgQvRUWpl41";
|
||||
extraGroups = [ "networkmanager" "wheel" ];
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user