b450903751
GitOrigin-RevId: 74a1793c659d09d7cf738005308b1f86c90cb59b
19 lines
391 B
Nix
19 lines
391 B
Nix
{ 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" ];
|
|
};
|
|
}
|