diff options
author | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-10 11:49:32 +0200 |
---|---|---|
committer | Eelco Dolstra <eelco.dolstra@logicblox.com> | 2014-09-10 11:50:45 +0200 |
commit | 624efa422494e23baa0ac217f7978c0154b23e17 (patch) | |
tree | ef60295268c0082d49433258948d5970874eec70 /nixos/modules/config/users-groups.nix | |
parent | d2bf37f183946dc032055b7e8db7ea699dd976ae (diff) |
Support users-groups.json referring to store paths
Fixes #4016.
Diffstat (limited to 'nixos/modules/config/users-groups.nix')
-rw-r--r-- | nixos/modules/config/users-groups.nix | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nixos/modules/config/users-groups.nix b/nixos/modules/config/users-groups.nix index 619f329d74c5..7d0498c10cc5 100644 --- a/nixos/modules/config/users-groups.nix +++ b/nixos/modules/config/users-groups.nix @@ -301,7 +301,7 @@ let uidsAreUnique = idsAreUnique (filterAttrs (n: u: u.uid != null) cfg.extraUsers) "uid"; gidsAreUnique = idsAreUnique (filterAttrs (n: g: g.gid != null) cfg.extraGroups) "gid"; - spec = builtins.toFile "users-groups.json" (builtins.toJSON { + spec = pkgs.writeText "users-groups.json" (builtins.toJSON { inherit (cfg) mutableUsers; users = mapAttrsToList (n: u: { inherit (u) |