Bruno BELANYI
9446651944
This makes use of the 'media' group, to allow using the same group for any software that would either read or write to my media collection.
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 { };
|
|
}
|