nixos/roles/media-client.nix
Ivan Bushchik 9de8497113
Call nixfmt for the first time
Signed-off-by: Ivan Bushchik <ivabus@ivabus.dev>
2023-09-06 16:10:11 +03:00

11 lines
290 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 ];
};
}