2021-08-03 10:36:53 +02:00
|
|
|
{ config, lib, pkgs, ... }:
|
|
|
|
|
|
|
|
with lib;
|
|
|
|
|
|
|
|
let
|
|
|
|
name = "networkaudiod";
|
|
|
|
cfg = config.services.networkaudiod;
|
|
|
|
in {
|
|
|
|
options = {
|
|
|
|
services.networkaudiod = {
|
2022-08-28 21:18:44 +02:00
|
|
|
enable = mkEnableOption (lib.mdDoc "Networkaudiod (NAA)");
|
2021-08-03 10:36:53 +02:00
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
systemd.packages = [ pkgs.networkaudiod ];
|
|
|
|
systemd.services.networkaudiod.wantedBy = [ "multi-user.target" ];
|
|
|
|
};
|
|
|
|
}
|