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