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

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
383 B
Nix
Raw Permalink Normal View History

2021-08-03 01:36:53 -07:00
{
config,
lib,
pkgs,
...
}:
let
name = "networkaudiod";
cfg = config.services.networkaudiod;
in
{
options = {
services.networkaudiod = {
enable = lib.mkEnableOption "Networkaudiod (NAA)";
2021-08-03 01:36:53 -07:00
};
};
config = lib.mkIf cfg.enable {
2021-08-03 01:36:53 -07:00
systemd.packages = [ pkgs.networkaudiod ];
systemd.services.networkaudiod.wantedBy = [ "multi-user.target" ];
};
}