summaryrefslogtreecommitdiffstats
path: root/makefu/2configs/audio/realtime-audio.nix
diff options
context:
space:
mode:
authormakefu <github@syntax-fehler.de>2017-05-12 11:31:46 +0200
committermakefu <github@syntax-fehler.de>2017-05-12 11:31:46 +0200
commit7a7612fb4d32349ba0ad87531845e65a8ee54deb (patch)
tree160e28adc19280598e59c065aeb06a6c1fe67066 /makefu/2configs/audio/realtime-audio.nix
parentf65349a3bcf315a0e89db63772c1a164352c6693 (diff)
m 2 audio: init
Diffstat (limited to 'makefu/2configs/audio/realtime-audio.nix')
-rw-r--r--makefu/2configs/audio/realtime-audio.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/makefu/2configs/audio/realtime-audio.nix b/makefu/2configs/audio/realtime-audio.nix
new file mode 100644
index 000000000..d9709e4b7
--- /dev/null
+++ b/makefu/2configs/audio/realtime-audio.nix
@@ -0,0 +1,12 @@
+{ config, pkgs, ... }:
+let
+ user = config.makefu.gui.user;
+in
+{
+ imports = [
+ ../sources/musnix.nix # populate musnix
+ <musnix>
+ ];
+ musnix.enable = true;
+ users.users."${user}".extraGroups = [ "audio" ];
+}