mirror of
https://github.com/ilyakooo0/nixpkgs.git
synced 2024-10-26 08:48:38 +03: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 New Issue
Block a user