global/media: init from music, move others into media
This commit is contained in:
parent
b2f77cb919
commit
28b2a5af87
7 changed files with 31 additions and 31 deletions
24
users/modules/global/media.nix
Normal file
24
users/modules/global/media.nix
Normal 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
|
||||
];
|
||||
}
|
|
@ -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
|
||||
];
|
||||
}
|
|
@ -1,10 +0,0 @@
|
|||
{ main, pkgs, ... }:
|
||||
|
||||
{
|
||||
programs.obs-studio = {
|
||||
enable = main.info.graphical;
|
||||
plugins = with pkgs.obs-studio-plugins; [
|
||||
obs-pipewire-audio-capture
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue