mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-09 22:19:42 +00:00
Add mpv
This commit is contained in:
parent
ad463e5f3f
commit
4cf6d51b79
|
@ -4,5 +4,6 @@ _: {
|
||||||
./stremio.nix
|
./stremio.nix
|
||||||
./nomacs.nix
|
./nomacs.nix
|
||||||
./qbittorrent.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
|
# Applications
|
||||||
".config/spotify"
|
".config/spotify"
|
||||||
".config/vesktop"
|
".config/vesktop"
|
||||||
|
"./config/nomacs"
|
||||||
".local/share/Smart Code ltd/Stremio"
|
".local/share/Smart Code ltd/Stremio"
|
||||||
|
|
||||||
# Tools
|
# Tools
|
||||||
|
@ -173,6 +174,7 @@
|
||||||
enable = true;
|
enable = true;
|
||||||
autoStart = true;
|
autoStart = true;
|
||||||
};
|
};
|
||||||
|
mpv.enable = true;
|
||||||
nomacs.enable = true;
|
nomacs.enable = true;
|
||||||
qbittorrent.enable = true;
|
qbittorrent.enable = true;
|
||||||
obs.enable = true;
|
obs.enable = true;
|
||||||
|
|
|
@ -36,6 +36,7 @@ in
|
||||||
nomacs.enable = mkEnableOption "Nomacs (Qt-based image viewer)";
|
nomacs.enable = mkEnableOption "Nomacs (Qt-based image viewer)";
|
||||||
qbittorrent.enable = mkEnableOption "Qbittorrent (Free software BitTorrent client)";
|
qbittorrent.enable = mkEnableOption "Qbittorrent (Free software BitTorrent client)";
|
||||||
obs.enable = mkEnableOption "OBS (Free and oepn source software for video recording and live streaming)";
|
obs.enable = mkEnableOption "OBS (Free and oepn source software for video recording and live streaming)";
|
||||||
|
mpv.enable = mkEnableOption "MPV (General-purpose media player)";
|
||||||
};
|
};
|
||||||
|
|
||||||
tools = {
|
tools = {
|
||||||
|
|
Loading…
Reference in a new issue