mirror of
https://github.com/ItsDrike/nixdots
synced 2024-12-25 19:54:36 +00:00
Add mpv
This commit is contained in:
parent
ad463e5f3f
commit
4cf6d51b79
|
@ -4,5 +4,6 @@ _: {
|
|||
./stremio.nix
|
||||
./nomacs.nix
|
||||
./qbittorrent.nix
|
||||
./mpv.nix
|
||||
];
|
||||
}
|
||||
|
|
17
home/packages/gui/mpv.nix
Normal file
17
home/packages/gui/mpv.nix
Normal file
|
@ -0,0 +1,17 @@
|
|||
{
|
||||
lib,
|
||||
pkgs,
|
||||
osConfig,
|
||||
...
|
||||
}: let
|
||||
inherit (lib) mkIf;
|
||||
|
||||
cfg = osConfig.myOptions.home-manager.programs.applications.mpv;
|
||||
in {
|
||||
config = mkIf cfg.enable {
|
||||
home.packages = with pkgs; [
|
||||
mpv
|
||||
];
|
||||
};
|
||||
}
|
||||
|
|
@ -70,6 +70,7 @@
|
|||
# Applications
|
||||
".config/spotify"
|
||||
".config/vesktop"
|
||||
"./config/nomacs"
|
||||
".local/share/Smart Code ltd/Stremio"
|
||||
|
||||
# Tools
|
||||
|
@ -173,6 +174,7 @@
|
|||
enable = true;
|
||||
autoStart = true;
|
||||
};
|
||||
mpv.enable = true;
|
||||
nomacs.enable = true;
|
||||
qbittorrent.enable = true;
|
||||
obs.enable = true;
|
||||
|
|
|
@ -36,6 +36,7 @@ in
|
|||
nomacs.enable = mkEnableOption "Nomacs (Qt-based image viewer)";
|
||||
qbittorrent.enable = mkEnableOption "Qbittorrent (Free software BitTorrent client)";
|
||||
obs.enable = mkEnableOption "OBS (Free and oepn source software for video recording and live streaming)";
|
||||
mpv.enable = mkEnableOption "MPV (General-purpose media player)";
|
||||
};
|
||||
|
||||
tools = {
|
||||
|
|
Loading…
Reference in a new issue