mirror of
https://github.com/SebastianWendel/nixpkgs.git
synced 2024-09-20 04:19:00 +02:00
nixos/tests/please.nix: get rid of with lib
This commit is contained in:
parent
4e9cdcb64e
commit
8cc0632c46
|
@ -6,10 +6,10 @@ import ./make-test-python.nix ({ lib, ... }:
|
||||||
nodes.machine =
|
nodes.machine =
|
||||||
{ ... }:
|
{ ... }:
|
||||||
{
|
{
|
||||||
users.users = with lib; mkMerge [
|
users.users = lib.mkMerge [
|
||||||
(listToAttrs (map
|
(lib.listToAttrs (map
|
||||||
(n: nameValuePair n { isNormalUser = true; })
|
(n: lib.nameValuePair n { isNormalUser = true; })
|
||||||
(genList (x: "user${toString x}") 6)))
|
(lib.genList (x: "user${toString x}") 6)))
|
||||||
{
|
{
|
||||||
user0.extraGroups = [ "wheel" ];
|
user0.extraGroups = [ "wheel" ];
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue