summaryrefslogtreecommitdiffstats
path: root/tv/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2015-12-26 05:55:13 +0100
committertv <tv@krebsco.de>2015-12-26 05:58:37 +0100
commit763f0db52ad45eef6e09d7982cd0f6cd898857e3 (patch)
tree77594d44153f6d6602783718d491024e40bd4423 /tv/3modules
parenta226298f4d545ea66b830833ef9f19c1785a4546 (diff)
{pkgs => lib}.genid
Diffstat (limited to 'tv/3modules')
-rw-r--r--tv/3modules/consul.nix4
-rw-r--r--tv/3modules/ejabberd.nix4
2 files changed, 4 insertions, 4 deletions
diff --git a/tv/3modules/consul.nix b/tv/3modules/consul.nix
index ccdee07f..5c955fdb 100644
--- a/tv/3modules/consul.nix
+++ b/tv/3modules/consul.nix
@@ -109,9 +109,9 @@ let
};
};
- user = {
+ user = rec {
name = "consul";
- uid = 2999951406; # genid consul
+ uid = genid name;
};
in
diff --git a/tv/3modules/ejabberd.nix b/tv/3modules/ejabberd.nix
index 6b231fb5..581e1007 100644
--- a/tv/3modules/ejabberd.nix
+++ b/tv/3modules/ejabberd.nix
@@ -53,9 +53,9 @@ let
};
};
- user = {
+ user = rec {
name = "ejabberd";
- uid = 3499746127; # genid ejabberd
+ uid = genid name;
};
my-ejabberdctl = pkgs.writeScriptBin "ejabberdctl" ''