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
|
@ -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) { };
|
||||
|
|
|
@ -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
|
||||
]));
|
||||
|
|
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue