summaryrefslogtreecommitdiffstats
path: root/tv/2configs/pulse.nix
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/2configs/pulse.nix
parenta226298f4d545ea66b830833ef9f19c1785a4546 (diff)
{pkgs => lib}.genid
Diffstat (limited to 'tv/2configs/pulse.nix')
-rw-r--r--tv/2configs/pulse.nix8
1 files changed, 3 insertions, 5 deletions
diff --git a/tv/2configs/pulse.nix b/tv/2configs/pulse.nix
index 0ddc52789..3db3532d5 100644
--- a/tv/2configs/pulse.nix
+++ b/tv/2configs/pulse.nix
@@ -69,12 +69,10 @@ in
};
};
- users = let
- id = 3768151709; # genid pulse
- in {
- groups.pulse.gid = id;
+ users = {
+ groups.pulse.gid = config.users.users.pulse.uid;
users.pulse = {
- uid = id;
+ uid = genid "pulse";
group = "pulse";
extraGroups = [ "audio" ];
home = "${runDir}/home";