nixos/tests/please.nix: get rid of with lib

This commit is contained in:
Anderson Torres 2023-04-30 11:26:19 -03:00
parent 4e9cdcb64e
commit 8cc0632c46

View File

@ -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" ];
} }