depot/third_party/nixpkgs/nixos/modules/services/audio/networkaudiod.nix

20 lines
391 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
with lib;
let
name = "networkaudiod";
cfg = config.services.networkaudiod;
in {
options = {
services.networkaudiod = {
enable = mkEnableOption (lib.mdDoc "Networkaudiod (NAA)");
};
};
config = mkIf cfg.enable {
systemd.packages = [ pkgs.networkaudiod ];
systemd.services.networkaudiod.wantedBy = [ "multi-user.target" ];
};
}