From 376b8faeb723cabaea7f7241ce2c65dc30da984f Mon Sep 17 00:00:00 2001 From: Nathan McCarty Date: Tue, 28 Jan 2025 21:43:02 -0500 Subject: [PATCH] media --- home-manager/machines/crash/home.nix | 1 + home-manager/modules/programs/desktop.nix | 4 ---- home-manager/modules/programs/media.nix | 26 +++++++++++++++++++++++ 3 files changed, 27 insertions(+), 4 deletions(-) create mode 100644 home-manager/modules/programs/media.nix diff --git a/home-manager/machines/crash/home.nix b/home-manager/machines/crash/home.nix index c8e91b6..d7c49db 100644 --- a/home-manager/machines/crash/home.nix +++ b/home-manager/machines/crash/home.nix @@ -35,6 +35,7 @@ (import ../../modules/programs/emacs.nix {}) ../../modules/programs/fonts.nix ../../modules/programs/desktop.nix + ../../modules/programs/media.nix ../../modules/programs/games.nix ]; home.username = "nathan"; diff --git a/home-manager/modules/programs/desktop.nix b/home-manager/modules/programs/desktop.nix index c7926c3..250d19b 100644 --- a/home-manager/modules/programs/desktop.nix +++ b/home-manager/modules/programs/desktop.nix @@ -11,10 +11,6 @@ protonmail-desktop signal-desktop caprine - # Media - spotify - inputs'.nixpkgs-unstable.legacyPackages.ente-web - calibre # Utility protonvpn-gui # Browser diff --git a/home-manager/modules/programs/media.nix b/home-manager/modules/programs/media.nix new file mode 100644 index 0000000..aea76aa --- /dev/null +++ b/home-manager/modules/programs/media.nix @@ -0,0 +1,26 @@ +{ + config, + lib, + pkgs, + inputs', + ... +}: { + home.packages = with pkgs; [ + # Media + spotify + inputs'.nixpkgs-unstable.legacyPackages.ente-web + calibre + freetube + ]; + + programs.mpv = { + enable = true; + scripts = with pkgs.mpvScripts; [ + mpris +modernz + memo + mpv-cheatsheet + webtorrent-mpv-hook + ]; + }; +}