summary refs log tree commit diff
diff options
context:
space:
mode:
authorworldofpeace <worldofpeace@protonmail.ch>2019-11-08 13:45:57 -0500
committerworldofpeace <worldofpeace@protonmail.ch>2019-12-21 19:37:21 -0500
commite2ea8152cc6f26f67484c80e533e9d980beab78c (patch)
treea82e183aff5909713d7b6e3ccc53c272d29c576a
parent313eba4451cb8e75001213f7a4aabafd124b6396 (diff)
downloadnixpkgs-e2ea8152cc6f26f67484c80e533e9d980beab78c.tar
nixpkgs-e2ea8152cc6f26f67484c80e533e9d980beab78c.tar.gz
nixpkgs-e2ea8152cc6f26f67484c80e533e9d980beab78c.tar.bz2
nixpkgs-e2ea8152cc6f26f67484c80e533e9d980beab78c.tar.lz
nixpkgs-e2ea8152cc6f26f67484c80e533e9d980beab78c.tar.xz
nixpkgs-e2ea8152cc6f26f67484c80e533e9d980beab78c.tar.zst
nixpkgs-e2ea8152cc6f26f67484c80e533e9d980beab78c.zip
nixos/tests/user-account: add static uid for alice
A lot of tests assume that the alice user
will have a uid of 1000. Let's make that
a guarantee and be able to reference this value.
-rw-r--r--nixos/tests/common/user-account.nix1
1 files changed, 1 insertions, 0 deletions
diff --git a/nixos/tests/common/user-account.nix b/nixos/tests/common/user-account.nix
index 9cd531a1f96..a57ee2d59ae 100644
--- a/nixos/tests/common/user-account.nix
+++ b/nixos/tests/common/user-account.nix
@@ -4,6 +4,7 @@
     { isNormalUser = true;
       description = "Alice Foobar";
       password = "foobar";
+      uid = 1000;
     };
 
   users.users.bob =