feat: init media server system profile
This commit is contained in:
parent
d2bd5abbed
commit
dc8a3d5dd1
7 changed files with 71 additions and 2 deletions
17
system/profiles/mediaServer/default.nix
Normal file
17
system/profiles/mediaServer/default.nix
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
{ config, lib, ... }:
|
||||
let
|
||||
cfg = config.systemProfile.mediaServer;
|
||||
in
|
||||
{
|
||||
imports = [
|
||||
../../modules
|
||||
];
|
||||
|
||||
config = lib.mkIf cfg.enable {
|
||||
systemModules = {
|
||||
services = {
|
||||
jellyfin.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue