diff options
Diffstat (limited to 'modules/pipewire.nix')
-rw-r--r-- | modules/pipewire.nix | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/modules/pipewire.nix b/modules/pipewire.nix new file mode 100644 index 0000000..fd97d42 --- /dev/null +++ b/modules/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; + }; + }; +} |