summary refs log tree commit diff
path: root/nixos/tests/sudo.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2018-06-30 01:55:42 +0200
committerFlorian Klink <flokli@flokli.de>2018-06-30 02:31:30 +0200
commit89d5d191b48c502c84a4ed459ef3c9adc77a012a (patch)
treeefac5e04b58e84bb009816d5b025aa64407665e4 /nixos/tests/sudo.nix
parent0868aa76f6eaed2123fc6115cbb8a5f110dc8e2f (diff)
downloadnixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.tar
nixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.tar.gz
nixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.tar.bz2
nixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.tar.lz
nixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.tar.xz
nixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.tar.zst
nixpkgs-89d5d191b48c502c84a4ed459ef3c9adc77a012a.zip
nixos/tests: users.(extraUsers|extraGroup->users|group)
Diffstat (limited to 'nixos/tests/sudo.nix')
-rw-r--r--nixos/tests/sudo.nix2
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/tests/sudo.nix b/nixos/tests/sudo.nix
index 35addb0ee80..5d6c8691230 100644
--- a/nixos/tests/sudo.nix
+++ b/nixos/tests/sudo.nix
@@ -14,7 +14,7 @@ in
       { config, lib, pkgs, ... }:
       with lib;
       {
-        users.extraGroups = { foobar = {}; barfoo = {}; baz = { gid = 1337; }; };
+        users.groups = { foobar = {}; barfoo = {}; baz = { gid = 1337; }; };
         users.users = {
           test0 = { isNormalUser = true; extraGroups = [ "wheel" ]; };
           test1 = { isNormalUser = true; password = password; };