fixed file structore

This commit is contained in:
Charlie Root 2024-04-10 17:44:54 +02:00
commit 2f9e7889c6
32 changed files with 102 additions and 36 deletions

View file

@ -1,32 +0,0 @@
{
config,
lib,
pkgs,
...
}: with lib; let
cfg = config.myOptions.programs.mpv;
username = config.myOptions.other.system.username;
in {
options.myOptions.programs.mpv.enable = mkEnableOption "mpv";
config = mkIf cfg.enable {
home-manager.users.${username} = {
programs.mpv = {
enable = true;
config = {
hwdec = "auto";
volume = 50;
osc = "no";
osd-bar = "no";
border = "no";
};
scripts = with pkgs.mpvScripts; [
mpris
thumbfast
sponsorblock
uosc
];
};
};
};
}