This commit is contained in:
Sakooooo 2023-07-18 17:09:46 +03:00
parent 3484cfa30a
commit 658482fbfa
Signed by: sako
GPG key ID: 3FD715D87D7725E0
4 changed files with 27 additions and 0 deletions

0
config/mpv/mpv.conf Normal file
View file

View file

@ -45,6 +45,7 @@
blender.enable = true;
kdenlive.enable = true;
lmms.enable = true;
mpv.enable = true;
};
};
hardware = {

View file

@ -5,5 +5,6 @@
./blender
./kdenlive
./lmms
./mpv
];
}

View file

@ -0,0 +1,25 @@
{ outputs, options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.media.mpv;
in
{
options.modules.desktop.media.mpv = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
mpv
];
home-manager.users.sako = { pkgs, ... }: {
xdg.configFile = {
mpv = {
source = ../../../../config/mpv;
recursive = true;
};
};
};
};
}