global/media: init from music, move others into media

This commit is contained in:
Infinidoge 2024-12-04 18:33:52 -05:00
parent b2f77cb919
commit 28b2a5af87
Signed by: Infinidoge
SSH key fingerprint: SHA256:EMoPe5e2dO0gEvtBb2xkZTz5dkyL0rBmuiGTKG5s96E
7 changed files with 31 additions and 31 deletions

View file

@ -0,0 +1,24 @@
{ main, lib, pkgs, ... }:
lib.mkIf main.universe.media.enable
{
services = {
mpris-proxy.enable = true;
playerctld.enable = true;
easyeffects.enable = true;
};
programs.obs-studio = {
enable = main.universe.media.enable;
plugins = with pkgs.obs-studio-plugins; [
obs-pipewire-audio-capture
];
};
home.packages = with pkgs; [
feishin
id3v2
jellyfin-media-player
picard
playerctl
];
}

View file

@ -1,13 +0,0 @@
{ main, lib, pkgs, ... }:
lib.mkIf main.info.graphical
{
services = {
mpris-proxy.enable = true;
playerctld.enable = true;
easyeffects.enable = true;
};
home.packages = with pkgs; [
playerctl
];
}

View file

@ -1,10 +0,0 @@
{ main, pkgs, ... }:
{
programs.obs-studio = {
enable = main.info.graphical;
plugins = with pkgs.obs-studio-plugins; [
obs-pipewire-audio-capture
];
};
}