my over complex system configurations dotfiles.isabelroses.com/
nixos nix flake dotfiles linux
9
fork

Configure Feed

Select the types of activity you want to include in your feed.

isabel/media/watching: enable on macos

isabel 1db71e19 c1b34854

+23 -14
+21 -14
home/isabel/gui/media/watching.nix
··· 5 5 inputs', 6 6 ... 7 7 }: 8 + let 9 + inherit (lib) mkIf; 10 + inherit (pkgs.stdenv.hostPlatform) isLinux; 11 + in 8 12 { 9 - config = lib.mkIf config.garden.profiles.media.watching.enable { 10 - garden.packages = { 13 + config = mkIf config.garden.profiles.media.watching.enable { 14 + garden.packages = mkIf pkgs.stdenv.hostPlatform.isLinux { 11 15 inherit (pkgs) 12 16 syncplay 13 17 yt-dlp ··· 21 25 programs.mpv = { 22 26 enable = true; 23 27 24 - scripts = with pkgs.mpvScripts; [ 25 - videoclip 26 - sponsorblock 27 - mpris 28 + scripts = 29 + (with pkgs.mpvScripts; [ 30 + videoclip 31 + sponsorblock 28 32 29 - # modern ui 30 - modernz 31 - thumbfast 33 + # modern ui 34 + modernz 35 + thumbfast 32 36 33 - # mpv as our image viewer 34 - mpv-image-viewer.image-positioning 35 - ]; 37 + # mpv as our image viewer 38 + mpv-image-viewer.image-positioning 39 + ]) 40 + ++ lib.optionals pkgs.stdenv.hostPlatform.isLinux [ 41 + pkgs.mpvScripts.mpris 42 + ]; 36 43 37 44 bindings = { 38 45 # sane defaults ··· 78 85 79 86 # video settings 80 87 # use hardware decoding when available, prefer vulkan 81 - hwdec = "auto-copy"; 82 - gpu-api = "vulkan"; 88 + hwdec = if isLinux then "auto-copy" else "auto"; 89 + gpu-api = if isLinux then "vulkan" else "auto"; 83 90 profile = "gpu-hq"; 84 91 vo = "gpu-next"; # GPU-Next: https://github.com/mpv-player/mpv/wiki/GPU-Next-vs-GPV 85 92
+2
systems/tatsumaki/users.nix
··· 6 6 zsh.enable = true; 7 7 ghostty.enable = true; 8 8 }; 9 + 10 + garden.profiles.media.watching.enable = true; 9 11 }; 10 12 }