mirror of
https://github.com/ivabus/nixos
synced 2024-11-26 02:05:06 +03:00
13 lines
302 B
Nix
13 lines
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
|
||
|
];
|
||
|
};
|
||
|
}
|