mirror of
https://codeberg.org/muon/home.git
synced 2025-12-06 16:17:46 +00:00
17 lines
367 B
Nix
17 lines
367 B
Nix
{ pkgs, lib, config, ... }: {
|
|
options.mods.server.media = {
|
|
enable = lib.mkEnableOption {
|
|
default = false;
|
|
description = "enables media related servers";
|
|
};
|
|
};
|
|
|
|
|
|
config = lib.mkIf config.mods.server.media.enable {
|
|
services.jellyfin = {
|
|
enable = true;
|
|
openFirewall = true;
|
|
user="${config.mods.user.name}";
|
|
};
|
|
};
|
|
}
|