This commit is contained in:
ItsDrike 2024-06-21 13:58:10 +02:00
parent ad463e5f3f
commit 4cf6d51b79
Signed by: ItsDrike
GPG key ID: FA2745890B7048C0
4 changed files with 21 additions and 0 deletions

View file

@ -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
View 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
];
};
}

View file

@ -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;

View file

@ -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 = {