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