diff options
author | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-04-29 22:17:05 -0300 |
---|---|---|
committer | Anderson Torres <torres.anderson.85@protonmail.com> | 2023-05-12 22:29:26 -0300 |
commit | 714180048b5cf2ea0baa4fbc1632669882f1da0d (patch) | |
tree | 19edccd32cf2beaaf6acb0d18cdab8445725b0d8 | |
parent | 70e8a86b2b1e06c8daec4120c5c506f9674b7e5c (diff) |
nixos/tests/redis.nix: get rid of `with lib`
-rw-r--r-- | nixos/tests/redis.nix | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/nixos/tests/redis.nix b/nixos/tests/redis.nix index abea1657f3ead..94b50d07be6dc 100644 --- a/nixos/tests/redis.nix +++ b/nixos/tests/redis.nix @@ -1,19 +1,17 @@ -import ./make-test-python.nix ({ pkgs, ... }: +import ./make-test-python.nix ({ pkgs, lib, ... }: { name = "redis"; - meta = with pkgs.lib.maintainers; { - maintainers = [ flokli ]; - }; + meta.maintainers = with lib.maintainers; [ flokli ]; nodes = { machine = - { pkgs, lib, ... }: with lib; + { pkgs, lib, ... }: { services.redis.servers."".enable = true; services.redis.servers."test".enable = true; - users.users = listToAttrs (map (suffix: nameValuePair "member${suffix}" { + users.users = lib.listToAttrs (map (suffix: lib.nameValuePair "member${suffix}" { createHome = false; description = "A member of the redis${suffix} group"; isNormalUser = true; |