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

@ -41,6 +41,7 @@ in
packages = packageListOpt;
shellAliases = mkOpt (attrsOf str) { };
variables = mkOpt (attrsOf (oneOf [ (listOf str) str path ])) { };
media.enable = mkBoolOpt false;
};
common = mkOpt (attrsOf anything) { };

View file

@ -59,7 +59,7 @@
xxHash
yq
zip
] ++ (lib.optionals config.info.graphical (with pkgs; [
] ++ (lib.optionals config.universe.media.enable (with pkgs; [
graphviz
yt-dlp
]));
@ -82,6 +82,7 @@
vim
]) ++ (lib.optionals config.info.graphical (with pkgs; [
arandr
])) ++ (lib.optionals config.universe.media.enable (with pkgs; [
ffmpeg-full
mpv
]));

View file

@ -18,6 +18,7 @@ in
modules.hardware.audio.enable = mkDefault true;
modules.hardware.peripherals.yubikey.enable = true;
info.stationary = mkDefault true;
universe.media.enable = mkDefault true;
})
(mkIf cfg.laptop {
@ -27,6 +28,8 @@ in
peripherals.yubikey.enable = true;
};
universe.media.enable = mkDefault true;
hardware = {
acpilight.enable = true;
};