feat(nixos:profiles): add media profile
This commit is contained in:
parent
0073b44f81
commit
eb31dceac7
4 changed files with 28 additions and 3 deletions
25
home/profiles/suites/media.nix
Normal file
25
home/profiles/suites/media.nix
Normal file
|
|
@ -0,0 +1,25 @@
|
|||
{ osConfig, lib, ... }:
|
||||
|
||||
let
|
||||
inherit (lib) mkIf;
|
||||
inherit (builtins) elem;
|
||||
profiles = osConfig.ooknet.host.profiles;
|
||||
in
|
||||
|
||||
{
|
||||
config = mkIf (elem "media" profiles) {
|
||||
ooknet.media = {
|
||||
image = {
|
||||
imv.enable = true;
|
||||
};
|
||||
video = {
|
||||
mpv.enable = true;
|
||||
jellyfinPlayer.enable = true;
|
||||
youtube.enable = true;
|
||||
};
|
||||
music = {
|
||||
tui.enable = true;
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue