nix-config/services/media.nix
Bruno BELANYI 680d82bc3b services: add pirate
The whole suite of *-arr media managers.
2021-02-03 20:38:54 +01:00

11 lines
214 B
Nix

# Abstracting away the need for a common 'media' group
{ config, lib, ... }:
let
needed = with config.my.services;
jellyfin.enable || pirate.enable;
in
{
config.users.groups.media = lib.mkIf needed { };
}