Bruno BELANYI
6038d0df60
Its configuration isn't declarative :-(. Notably, the port needs to be changed from '8080' to '9090' in its configuration file (at '/var/lib/sabnzbd/').
11 lines
255 B
Nix
11 lines
255 B
Nix
# Abstracting away the need for a common 'media' group
|
|
|
|
{ config, lib, ... }:
|
|
let
|
|
needed = with config.my.services;
|
|
jellyfin.enable || pirate.enable || sabnzbd.enable || transmission.enable;
|
|
in
|
|
{
|
|
config.users.groups.media = lib.mkIf needed { };
|
|
}
|