2021-08-05 21:33:18 +00:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
name = "networkaudiod";
|
|
|
|
cfg = config.services.networkaudiod;
|
|
|
|
in {
|
|
|
|
options = {
|
|
|
|
services.networkaudiod = {
|
2022-09-09 14:08:57 +00:00
|
|
|
enable = mkEnableOption (lib.mdDoc "Networkaudiod (NAA)");
|
2021-08-05 21:33:18 +00:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
systemd.packages = [ pkgs.networkaudiod ];
|
|
|
|
systemd.services.networkaudiod.wantedBy = [ "multi-user.target" ];
|
|
|
|
};
|
|
|
|
}
|