about summary refs log tree commit diff
path: root/nixos/tests/redis.nix
diff options
context:
space:
mode:
authorSymphorien Gibol <symphorien+git@xlumurb.eu>2021-03-07 14:54:00 +0100
committerSymphorien Gibol <symphorien+git@xlumurb.eu>2021-04-14 20:40:00 +0200
commit7a87973b4ced86e1ba94ee84449979d6afebc9ea (patch)
treefca832b3d43925bd5d420ea083671d662a97e5fe /nixos/tests/redis.nix
parent311ceed827f531f88f46222920cd1ebb2c101f73 (diff)
nixos/users: require one of users.users.name.{isSystemUser,isNormalUser}
As the only consequence of isSystemUser is that if the uid is null then
it's allocated below 500, if a user has uid = something below 500 then
we don't require isSystemUser to be set.

Motivation: https://github.com/NixOS/nixpkgs/issues/112647
Diffstat (limited to 'nixos/tests/redis.nix')
-rw-r--r--nixos/tests/redis.nix3
1 files changed, 1 insertions, 2 deletions
diff --git a/nixos/tests/redis.nix b/nixos/tests/redis.nix
index 79a7847414a90..28b6058c2c026 100644
--- a/nixos/tests/redis.nix
+++ b/nixos/tests/redis.nix
@@ -22,11 +22,10 @@ in
         users.users."member" = {
           createHome = false;
           description = "A member of the redis group";
+          isNormalUser = true;
           extraGroups = [
             "redis"
           ];
-          group = "users";
-          shell = "/bin/sh";
         };
       };
   };