programs: split jellyfin-media-player into own nix module

This commit is contained in:
Colin 2023-06-02 01:55:07 +00:00
parent 0c610c8f1c
commit 31740befbf
2 changed files with 14 additions and 5 deletions

View File

@ -264,6 +264,7 @@ in
./git.nix
./gnome-feeds.nix
./gpodder.nix
./jellyfin-media-player.nix
./kitty
./libreoffice.nix
./mpv.nix
@ -358,11 +359,6 @@ in
suggestedPrograms = [ "ghostscript" ];
};
# jellyfin stores things in a bunch of directories: this one persists auth info.
# it *might* be possible to populate this externally (it's Qt stuff), but likely to
# be fragile and take an hour+ to figure out.
jellyfin-media-player.persist.plaintext = [ ".local/share/Jellyfin Media Player" ];
# actual monero blockchain (not wallet/etc; safe to delete, just slow to regenerate)
# XXX: is it really safe to persist this? it doesn't have info that could de-anonymize if captured?
monero-gui.persist.plaintext = [ ".bitmonero" ];

View File

@ -0,0 +1,13 @@
{ pkgs, ... }:
{
sane.programs.jellyfin-media-player = {
package = pkgs.jellyfin-media-player;
# package = pkgs.jellyfin-media-player-qt6;
# jellyfin stores things in a bunch of directories: this one persists auth info.
# it *might* be possible to populate this externally (it's Qt stuff), but likely to
# be fragile and take an hour+ to figure out.
persist.plaintext = [ ".local/share/Jellyfin Media Player" ];
};
}