nixos/roles/media-client.nix
Ivan Bushchik c2d197d7f0
Add media-client and torrent roles
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2023-08-27 19:27:26 +03:00

13 lines
No EOL
302 B
Nix

{ config, pkgs, lib, ... }:
let
cfg = config.my.roles.media-client;
in {
options.my.roles.media-client.enable = lib.mkEnableOption "Enable media players, downloaders, etc.";
config = lib.mkIf (cfg.enable){
environment.systemPackages = with pkgs; [
vlc
yt-dlp ffmpeg
];
};
}