summaryrefslogtreecommitdiffstats
path: root/tv/3modules
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2016-02-21 06:56:57 +0100
committertv <tv@krebsco.de>2016-02-21 06:56:57 +0100
commit05be525be6d0896b155da7305b2cee950fb3530e (patch)
tree0c9c431b3ffd853e334a070e69fa4b54ae9114b9 /tv/3modules
parentc5f18dfdfe9874ba48834447c8d3259b115c1357 (diff)
krebs.types.user: add uid :: int
Diffstat (limited to 'tv/3modules')
-rw-r--r--tv/3modules/charybdis/default.nix3
-rw-r--r--tv/3modules/ejabberd/default.nix3
2 files changed, 2 insertions, 4 deletions
diff --git a/tv/3modules/charybdis/default.nix b/tv/3modules/charybdis/default.nix
index 5cb0c55b7..87cb37ef4 100644
--- a/tv/3modules/charybdis/default.nix
+++ b/tv/3modules/charybdis/default.nix
@@ -73,9 +73,8 @@ in {
};
users.users.${cfg.user.name} = {
- inherit (cfg.user) home name;
+ inherit (cfg.user) home name uid;
createHome = true;
- uid = genid cfg.user.name;
};
};
}
diff --git a/tv/3modules/ejabberd/default.nix b/tv/3modules/ejabberd/default.nix
index 4077da286..da108eb52 100644
--- a/tv/3modules/ejabberd/default.nix
+++ b/tv/3modules/ejabberd/default.nix
@@ -60,9 +60,8 @@ in {
};
users.users.${cfg.user.name} = {
- inherit (cfg.user) home name;
+ inherit (cfg.user) home name uid;
createHome = true;
- uid = genid cfg.user.name;
};
};
}