summaryrefslogtreecommitdiffstats
path: root/tv/2configs/pulse.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2015-12-26 10:51:18 +0100
committermakefu <github@syntax-fehler.de>2015-12-26 10:51:18 +0100
commited4db71add7e279625e70be915b0cec47eb6be3e (patch)
tree195624e743f9e5e6bcc7c2ad2f5c66b00c08a3d7 /tv/2configs/pulse.nix
parentcef2be532b0cc76071b0b3515fc71214b37591f0 (diff)
parent763f0db52ad45eef6e09d7982cd0f6cd898857e3 (diff)
Merge remote-tracking branch 'cd/master'
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";