32 lines
596 B
Nix
32 lines
596 B
Nix
{ pkgs, ... }:
|
||
{
|
||
# Define a user account. Don't forget to set a password with ‘passwd’.
|
||
users.users.jokke = {
|
||
uid = 1001;
|
||
isNormalUser = true;
|
||
extraGroups = [ "wheel" ];
|
||
shell = pkgs.zsh;
|
||
initialPassword = "changeme";
|
||
};
|
||
|
||
users.users.moco = {
|
||
uid = 1000;
|
||
isNormalUser = true;
|
||
extraGroups = [ "wheel" ];
|
||
shell = pkgs.zsh;
|
||
initialPassword = "changeme";
|
||
subUidRanges = [
|
||
{
|
||
startUid = 10000;
|
||
count = 65536;
|
||
}
|
||
];
|
||
subGidRanges = [
|
||
{
|
||
startGid = 10000;
|
||
count = 65536;
|
||
}
|
||
];
|
||
};
|
||
}
|