mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-11-05 17:56:46 +01:00
e2ea8152cc
A lot of tests assume that the alice user will have a uid of 1000. Let's make that a guarantee and be able to reference this value.
16 lines
265 B
Nix
16 lines
265 B
Nix
{ ... }:
|
|
|
|
{ users.users.alice =
|
|
{ isNormalUser = true;
|
|
description = "Alice Foobar";
|
|
password = "foobar";
|
|
uid = 1000;
|
|
};
|
|
|
|
users.users.bob =
|
|
{ isNormalUser = true;
|
|
description = "Bob Foobar";
|
|
password = "foobar";
|
|
};
|
|
}
|