20 lines
350 B
Nix
20 lines
350 B
Nix
|
{ pkgs, lib, config, ... }: {
|
||
|
options = {
|
||
|
misc.avtools.enable = lib.mkEnableOption "Enable audio video tools";
|
||
|
};
|
||
|
|
||
|
imports = mkIf config.misc.avtools.enable [
|
||
|
./obs
|
||
|
];
|
||
|
|
||
|
config = mkIf config.misc.avtools.enable; {
|
||
|
home.packages = with pkgs; [
|
||
|
yt-dlp
|
||
|
spotdl
|
||
|
playerctl
|
||
|
ffmpeg
|
||
|
pulsemixer
|
||
|
];
|
||
|
};
|
||
|
}
|