mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-02 07:31:26 +00:00
24 lines
418 B
Nix
24 lines
418 B
Nix
# pipewire service.
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
|
|
{
|
|
###### interface
|
|
options = {
|
|
services.pipewire = {
|
|
enable = mkEnableOption "pipewire service";
|
|
};
|
|
};
|
|
|
|
|
|
###### implementation
|
|
config = mkIf config.services.pipewire.enable {
|
|
environment.systemPackages = [ pkgs.pipewire ];
|
|
|
|
systemd.packages = [ pkgs.pipewire ];
|
|
};
|
|
|
|
meta.maintainers = with lib.maintainers; [ jtojnar ];
|
|
}
|