{ pkgs, ... }: { homebrew.enable = true; homebrew.casks = [ "iina" ]; system.defaults.CustomUserPreferences = { "com.colliderli.iina" = { # disable "music-mode" autoSwitchToMusicMode = false; # show file picker on start actionAfterLaunch = 1; # close window on end of file keepOpenOnFileEnd = false; # don't continue on last playback position resumeLastPosition = false; # set osd-layout to "bottom" oscPosition = 2; # quit app when all windows closed quitWhenNoOpenedWindow = true; # set path to youtube-dl provided via nix ytdlSearchPath = "/etc/profiles/per-user/katja/bin/youtube-dl"; }; }; home-manager.users.katja.home.packages = with pkgs; [ open-in-mpv ]; }