Compare commits

...

2 commits

Author SHA1 Message Date
b9e276d69f
update 2025-02-25 17:59:30 -05:00
8d7d579558
lavalink broken 2025-02-25 17:59:21 -05:00
4 changed files with 21 additions and 22 deletions

30
flake.lock generated
View file

@ -22,11 +22,11 @@
] ]
}, },
"locked": { "locked": {
"lastModified": 1739841949, "lastModified": 1740485968,
"narHash": "sha256-lSOXdgW/1zi/SSu7xp71v+55D5Egz8ACv0STkj7fhbs=", "narHash": "sha256-WK+PZHbfDjLyveXAxpnrfagiFgZWaTJglewBWniTn2Y=",
"owner": "nix-community", "owner": "nix-community",
"repo": "disko", "repo": "disko",
"rev": "15dbf8cebd8e2655a883b74547108e089f051bf0", "rev": "19c1140419c4f1cdf88ad4c1cfb6605597628940",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -356,11 +356,11 @@
"rust-overlay": "rust-overlay" "rust-overlay": "rust-overlay"
}, },
"locked": { "locked": {
"lastModified": 1739186342, "lastModified": 1740440383,
"narHash": "sha256-2j+sln9RwQn+g7J4GmdFFgvqXnLkvWBNMaUzONlkzUE=", "narHash": "sha256-w8ixbqOGrVWMQZFFs4uAwZpuwuGMzFoKjocMFxTR5Ts=",
"owner": "nix-community", "owner": "nix-community",
"repo": "lanzaboote", "repo": "lanzaboote",
"rev": "3bdeebbc484a09391c4f0ec8a37bb77809426660", "rev": "6321bc060d757c137c1fbae2057c7e941483878f",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -371,11 +371,11 @@
}, },
"master": { "master": {
"locked": { "locked": {
"lastModified": 1740287033, "lastModified": 1740522700,
"narHash": "sha256-/MIT8/gFk2Yswm/uUzTg65Cl9GmS1iXT2REPVflJRxM=", "narHash": "sha256-77otAPAYGMMFZh8b2i2FoEQkIkJ+rAMhQ+iNf23VDsA=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "06b36bb519629003bc79e4dcc0c4132b2e9e5c47", "rev": "6db976712c41a29fa7c09801e54f874d60e5fa10",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -827,11 +827,11 @@
}, },
"stable": { "stable": {
"locked": { "locked": {
"lastModified": 1740162160, "lastModified": 1740339700,
"narHash": "sha256-SSYxFhqCOb3aiPb6MmN68yEzBIltfom8IgRz7phHscM=", "narHash": "sha256-cbrw7EgQhcdFnu6iS3vane53bEagZQy/xyIkDWpCgVE=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "11415c7ae8539d6292f2928317ee7a8410b28bb9", "rev": "04ef94c4c1582fd485bbfdb8c4a8ba250e359195",
"type": "github" "type": "github"
}, },
"original": { "original": {
@ -930,11 +930,11 @@
}, },
"unstable": { "unstable": {
"locked": { "locked": {
"lastModified": 1739866667, "lastModified": 1740367490,
"narHash": "sha256-EO1ygNKZlsAC9avfcwHkKGMsmipUk1Uc0TbrEZpkn64=", "narHash": "sha256-WGaHVAjcrv+Cun7zPlI41SerRtfknGQap281+AakSAw=",
"owner": "NixOS", "owner": "NixOS",
"repo": "nixpkgs", "repo": "nixpkgs",
"rev": "73cf49b8ad837ade2de76f87eb53fc85ed5d4680", "rev": "0196c0175e9191c474c26ab5548db27ef5d34b05",
"type": "github" "type": "github"
}, },
"original": { "original": {

View file

@ -60,14 +60,11 @@
builtins.replaceStrings builtins.replaceStrings
[ [
"@refresh_token@" "@refresh_token@"
"@password@" "@password@"
] ]
[ [
config.sops.placeholder."lavalink/refresh_token" config.sops.placeholder."lavalink/refresh_token"
config.sops.placeholder."lavalink/password" config.sops.placeholder."lavalink/password"
] ]
(builtins.readFile ./application.yml); (builtins.readFile ./application.yml);
}; };

View file

@ -13,18 +13,20 @@ plugins:
# Clients are queried in the order they are given (so the first client is queried first and so on...) # Clients are queried in the order they are given (so the first client is queried first and so on...)
clients: clients:
- MUSIC - MUSIC
- TVHTML5EMBEDDED
- TV
- ANDROID_VR - ANDROID_VR
- WEB - WEB
- WEBEMBEDDED - WEBEMBEDDED
oauth: oauth:
enabled: true enabled: true
refreshToken: "@refresh_token@" # refreshToken: "@refresh_token@"
# name: # Name of the plugin # name: # Name of the plugin
# some_key: some_value # Some key-value pair for the plugin # some_key: some_value # Some key-value pair for the plugin
# another_key: another_value # another_key: another_value
lavalink: lavalink:
plugins: plugins:
- dependency: "dev.lavalink.youtube:youtube-plugin:1.11.4" - dependency: "dev.lavalink.youtube:youtube-plugin:1.11.5"
snapshot: false snapshot: false
# setting "enabled: true" is the bare minimum to get OAuth working. # setting "enabled: true" is the bare minimum to get OAuth working.
enabled: true enabled: true

View file

@ -15,8 +15,8 @@ stdenvNoCC.mkDerivation (finalAttrs: {
}; };
plugin = fetchurl { plugin = fetchurl {
url = "https://github.com/lavalink-devs/youtube-source/releases/download/1.11.4/youtube-plugin-1.11.4.jar"; url = "https://github.com/lavalink-devs/youtube-source/releases/download/1.11.5/youtube-plugin-1.11.5.jar";
hash = "sha256-OznpsYoiWa6y+/8kukWN66leLi2mZU/1x+zN+uyIk1k="; hash = "sha256-Zz4S5mWcsVFWGmN41L34GqZeCOswt/CAn+1PN1XJtbk=";
}; };
dontUnpack = true; dontUnpack = true;