summaryrefslogtreecommitdiff
path: root/modules/root/pipewire.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/root/pipewire.nix')
-rw-r--r--modules/root/pipewire.nix12
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/root/pipewire.nix b/modules/root/pipewire.nix
new file mode 100644
index 0000000..fd97d42
--- /dev/null
+++ b/modules/root/pipewire.nix
@@ -0,0 +1,12 @@
+{ lib, config, ... }: {
+ options = {
+ pipewire.enable = lib.mkEnableOption "enables pipewire";
+ };
+
+ config = lib.mkIf config.pipewire.enable {
+ services.pipewire = {
+ enable = true;
+ pulse.enable = true;
+ };
+ };
+}