nix-config/services/media.nix
Bruno BELANYI 27d089afaa services: add transmission
This service makes use of the default webui. I really like combustion
more, but am willing to use that one instead given the few amount of
time I actually spend looking at it
2021-02-03 20:38:54 +01:00

11 lines
237 B
Nix

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