discord-rpc
This commit is contained in:
parent
27d3926db3
commit
23e905d5f8
@ -51,6 +51,40 @@
|
||||
"resilio/host" = { };
|
||||
"resilio/password" = { };
|
||||
};
|
||||
home-manager.users.jawz.xdg.configFile."jellyfin-rpc/main.json".text = builtins.toJSON {
|
||||
jellyfin = {
|
||||
url = "https://flix.servidos.lat";
|
||||
api_key = "abe7cdf35e5c453a9bceb004f4792b4a";
|
||||
username = "jawz";
|
||||
music = {
|
||||
display = [
|
||||
"year"
|
||||
"album"
|
||||
];
|
||||
separator = "-";
|
||||
};
|
||||
};
|
||||
discord = {
|
||||
application_id = "1311453366978875392";
|
||||
buttons = [
|
||||
{
|
||||
name = "dynamic";
|
||||
url = "dynamic";
|
||||
}
|
||||
{
|
||||
name = "dynamic";
|
||||
url = "dynamic";
|
||||
}
|
||||
];
|
||||
};
|
||||
imgur = {
|
||||
client_id = "1ca05dbfc674d39";
|
||||
};
|
||||
images = {
|
||||
enable_images = true;
|
||||
imgur_images = true;
|
||||
};
|
||||
};
|
||||
networking = {
|
||||
hostName = "workstation";
|
||||
firewall =
|
||||
@ -82,7 +116,7 @@
|
||||
distrobox # install packages from other os
|
||||
gocryptfs # encrypted filesystem! shhh!!!
|
||||
torrenttools # create torrent files from the terminal!
|
||||
vcsi # video thumbnails for torrents, can I replace it with ^?
|
||||
# vcsi # video thumbnails for torrents, can I replace it with ^?
|
||||
;
|
||||
};
|
||||
nixremote = {
|
||||
|
||||
11
modules/servers/discord-rpc.nix
Normal file
11
modules/servers/discord-rpc.nix
Normal file
@ -0,0 +1,11 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
{
|
||||
config =
|
||||
{
|
||||
};
|
||||
}
|
||||
33
pkgs/discord-rpc/default.nix
Normal file
33
pkgs/discord-rpc/default.nix
Normal file
@ -0,0 +1,33 @@
|
||||
{
|
||||
lib,
|
||||
rustPlatform,
|
||||
fetchFromGitHub,
|
||||
stdenv,
|
||||
darwin,
|
||||
}:
|
||||
|
||||
rustPlatform.buildRustPackage rec {
|
||||
pname = "jellyfin-rpc";
|
||||
version = "1.3.0";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "Radiicall";
|
||||
repo = "jellyfin-rpc";
|
||||
rev = version;
|
||||
hash = "sha256-sr82lTOr6RUvYD0CVZMyyRAFjai1oLnRWIszuu7/jE0=";
|
||||
};
|
||||
|
||||
cargoHash = "sha256-KHbYM7aWgch+DWF46DpFCCt7JoKR0sasuFO3xPOytWA=";
|
||||
|
||||
buildInputs = lib.optionals stdenv.isDarwin [
|
||||
darwin.apple_sdk.frameworks.Security
|
||||
];
|
||||
|
||||
meta = {
|
||||
description = "Displays the content you're currently watching on Discord";
|
||||
homepage = "https://github.com/Radiicall/jellyfin-rpc";
|
||||
license = lib.licenses.gpl3Only;
|
||||
maintainers = with lib.maintainers; [ CaptainJawZ ];
|
||||
mainProgram = "jellyfin-rpc";
|
||||
};
|
||||
}
|
||||
1
pkgs/discord-rpc/result
Symbolic link
1
pkgs/discord-rpc/result
Symbolic link
@ -0,0 +1 @@
|
||||
/nix/store/js35q8d06zpcir4ryxibhdjyd422ddcr-jellyfin-rpc-1.3.0
|
||||
Loading…
x
Reference in New Issue
Block a user