chore: move to spotify_player
Signed-off-by: jolheiser <john.olheiser@gmail.com>
parent
3e873ff251
commit
1777a97971
|
@ -4,7 +4,7 @@
|
||||||
./firefox.nix
|
./firefox.nix
|
||||||
./ghostty.nix
|
./ghostty.nix
|
||||||
./gtk.nix
|
./gtk.nix
|
||||||
./spotifyd.nix
|
./spotify.nix
|
||||||
./tiny.nix
|
./tiny.nix
|
||||||
./wezterm.nix
|
./wezterm.nix
|
||||||
];
|
];
|
||||||
|
@ -15,7 +15,7 @@
|
||||||
delve
|
delve
|
||||||
discord
|
discord
|
||||||
obsidian
|
obsidian
|
||||||
spotify-tui
|
spotify-player
|
||||||
|
|
||||||
# LSPs
|
# LSPs
|
||||||
lua-language-server
|
lua-language-server
|
||||||
|
|
|
@ -0,0 +1,16 @@
|
||||||
|
{pkgs, ...}: {
|
||||||
|
xdg.configFile."spotify-player/theme.toml".text = builtins.readFile (pkgs.fetchFromGitHub {
|
||||||
|
owner = "catppuccin";
|
||||||
|
repo = "spotify-player";
|
||||||
|
rev = "816e48fe7ade959dab920d83a7a88a952c48ede3";
|
||||||
|
sha256 = "sha256-Xl8GoAzuSfYmFb5ohS4H5we9q+0DTrCwQ3WubPsnxGg=";
|
||||||
|
}
|
||||||
|
+ "/src/theme.toml");
|
||||||
|
xdg.configFile."spotify-player/app.toml".source = (pkgs.formats.toml {}).generate "spotify-player-config" {
|
||||||
|
client_id = "41af4976ba70474fbd541ee8764a2cda";
|
||||||
|
theme = "Catppuccin-mocha";
|
||||||
|
enable_notify = false;
|
||||||
|
enable_media_control = true;
|
||||||
|
};
|
||||||
|
programs.nushell.shellAliases.spt = "spotify_player";
|
||||||
|
}
|
|
@ -1,17 +0,0 @@
|
||||||
{pkgs, ...}: {
|
|
||||||
services.spotifyd = {
|
|
||||||
enable = true;
|
|
||||||
settings.global = {
|
|
||||||
username = "john.olheiser";
|
|
||||||
password_cmd = "cat /run/agenix/spotify-pw";
|
|
||||||
device_name = "nix";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
xdg.configFile."spotify-tui/config.yml".text = builtins.readFile (pkgs.fetchFromGitHub {
|
|
||||||
owner = "catppuccin";
|
|
||||||
repo = "spotify-tui";
|
|
||||||
rev = "45a4ef12508784410c516746c9d84862d52e4567";
|
|
||||||
sha256 = "sha256-RXJ+skwUu2miCbBDLXx0Md0aVgo3iub2rQBzICwYLMU=";
|
|
||||||
}
|
|
||||||
+ "/mocha.yml");
|
|
||||||
}
|
|
|
@ -131,7 +131,11 @@
|
||||||
age.secrets = {
|
age.secrets = {
|
||||||
ssh-config = userSecret ./secrets/shared/ssh-config.age;
|
ssh-config = userSecret ./secrets/shared/ssh-config.age;
|
||||||
ssh-config-work = userSecret ./secrets/shared/ssh-config-work.age;
|
ssh-config-work = userSecret ./secrets/shared/ssh-config-work.age;
|
||||||
spotify-pw = userSecret ./secrets/shared/spotify-pw.age;
|
spotify = {
|
||||||
|
file = ./secrets/shared/spotify.age;
|
||||||
|
owner = username;
|
||||||
|
path = "/home/${username}/.cache/spotify-player/credentials.json";
|
||||||
|
};
|
||||||
irc-pw = userSecret ./secrets/shared/irc-pw.age;
|
irc-pw = userSecret ./secrets/shared/irc-pw.age;
|
||||||
gist-pw = userSecret ./secrets/shared/gist-pw.age;
|
gist-pw = userSecret ./secrets/shared/gist-pw.age;
|
||||||
git-send-email = userSecret ./secrets/shared/git-send-email.age;
|
git-send-email = userSecret ./secrets/shared/git-send-email.age;
|
||||||
|
|
|
@ -8,7 +8,7 @@ let
|
||||||
in {
|
in {
|
||||||
"shared/ssh-config.age".publicKeys = all;
|
"shared/ssh-config.age".publicKeys = all;
|
||||||
"shared/ssh-config-work.age".publicKeys = all;
|
"shared/ssh-config-work.age".publicKeys = all;
|
||||||
"shared/spotify-pw.age".publicKeys = all;
|
"shared/spotify.age".publicKeys = all;
|
||||||
"shared/irc-pw.age".publicKeys = all;
|
"shared/irc-pw.age".publicKeys = all;
|
||||||
"shared/gist-pw.age".publicKeys = all;
|
"shared/gist-pw.age".publicKeys = all;
|
||||||
"shared/git-send-email.age".publicKeys = all;
|
"shared/git-send-email.age".publicKeys = all;
|
||||||
|
|
|
@ -1,14 +0,0 @@
|
||||||
age-encryption.org/v1
|
|
||||||
-> ssh-ed25519 E8j6/g rTczN49uC7rlcUspdrZvezwwsopZbDI3ed2Iu8dMqho
|
|
||||||
5bYO3BkBUlfND31gZP9Q2mm36uG0H3ztKz53+ULWEpI
|
|
||||||
-> ssh-ed25519 xUMv2w Afpo98rI2byTAp1ggl6dk1jLUX38/Kw0quZmkNYToBc
|
|
||||||
uf2EAkbf++q3JJJmtvr/0GGXF36vKGi79P9nDcwnkOM
|
|
||||||
-> ssh-ed25519 jo1MPA rtF3q41fH9J65yefk+HH8lbAnH8Uks+JqmKfKHNiBAM
|
|
||||||
JljmFpYPY9UZrqj4bNMAuiIIpfGtts/BLdBBcECFluA
|
|
||||||
-> ssh-ed25519 f31uNA be9QDOLTnswNPCzOwAzrkcjZnGi0bRkqKn6XVu9POGQ
|
|
||||||
+HI5hr4P5JpwvnYos4MWWfgNYbav96Dql6ByQ3FyOZw
|
|
||||||
-> 2-grease +t`Yq +>J# MPH/!o 0M
|
|
||||||
Y4t2zoE06phrwv7b85k716E9a/6rDrTMUzHG7FEEL1vf1l2HxDRmbETdD8vqgHyr
|
|
||||||
a93dGwR316iAcBz36LBZ
|
|
||||||
--- yBlcDPxXfHOlWH84kOPk90Y/QnyxAmmHEe3DON5+UbA
|
|
||||||
¹¾^¾ù<>¿¥¨G1ø3Qì? ‰å®}™Ýñ<02>µqÉÞamZ/ÀFq‹«˜Yåá5”I©
|
|
|
@ -0,0 +1,14 @@
|
||||||
|
age-encryption.org/v1
|
||||||
|
-> ssh-ed25519 E8j6/g NP0qP5dxYB6KZ1Wa9a91XsT8jP5USL+Mv1qPBz5KBBA
|
||||||
|
ryml/Fr+ue9vtdvpYQ5CcAZLYsxNq/0cg5Z0jxkS740
|
||||||
|
-> ssh-ed25519 xUMv2w 6qMMxiDjNPWyIjZBYu9ZITtg8yOLe8pdCEKqXRrZfVM
|
||||||
|
oXE21t5+l7Hwqv0+yqomhilbAuVajufNzZ9py1v4GnY
|
||||||
|
-> ssh-ed25519 jo1MPA QKp2NFCDqg/wxewXLXob9fXpbASsiEwfvrUbYu3LMgg
|
||||||
|
OulnC5T/VoEKdOSd+q9OsaMs3JBcJ8uHvp5zrstTt1g
|
||||||
|
-> ssh-ed25519 f31uNA U2VaJ3nLdoSV1LupL9EJeM9LLCc/8WLIHzZfHnXzdCM
|
||||||
|
OvsNQEK7I9jKi1MarwYB/I91tOiGYu08W9fZ9xIw7MI
|
||||||
|
-> %k<I-grease
|
||||||
|
0zyvlRvbVlfVJQV9yzrRzw92w7nckiMKbGe0Rzw1v6tG5KHGEjQo
|
||||||
|
--- KISMpNf5glwbzCOJbgO7mh7ixf2JLazBfaJCFB8Zr4E
|
||||||
|
‰×CćKöv¸ŢžĚ3YߪĐ&›yAók{Ť6-ř8™îŠ/u
|
||||||
|
·ÜÍ_ĚE<>!ht9Ça‡<17>¨ôL|xąË{ő÷©i8˙ŕ^őÂ$Ó°+UYrš<72>Umá#6<>"“Źn@7ĹpVŽá†=ńy„M‡Â<0C>V;} axÂű_qV™«´ÖEűGD4wŇĺhŽ<68>©Ä:C{w–šT-KŇěȨĹôí*Ń&©"ŃęĎŁËTNGĄ»eC 6ę|‘|–Ý8µqÓ#¶<>hMßľVĂ®
’o€C8Ĺwsy™ČÖI–“čB
>ˇCĄŇxB-Uéw^ŔVß/ăAňŞÂ"ßB‹ŰŚ·-3=9”"‘ÍĚ7˛5Ţ@*•\¶B
|
Reference in New Issue