-
-
Notifications
You must be signed in to change notification settings - Fork 27
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
10 changed files
with
170 additions
and
79 deletions.
There are no files selected for viewing
Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.
Oops, something went wrong.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,44 +1,46 @@ | ||
{ | ||
pkgs, | ||
config, | ||
inputs, | ||
... | ||
}: { | ||
# themable spotify | ||
programs.spicetify = let | ||
spicePkgs = inputs.spicetify-nix.packages.${pkgs.hostPlatform.system}.default; | ||
in { | ||
enable = true; | ||
home.packages = [pkgs.spotify-tui]; | ||
services = { | ||
playerctld.enable = true; | ||
|
||
theme = spicePkgs.themes.catppuccin; | ||
|
||
colorScheme = "mocha"; | ||
|
||
enabledExtensions = with spicePkgs.extensions; [ | ||
fullAppDisplay | ||
hidePodcasts | ||
shuffle | ||
skipStats | ||
autoVolume | ||
autoSkip | ||
savePlaylists | ||
phraseToPlaylist | ||
wikify | ||
autoSkip | ||
copyToClipboard | ||
history | ||
groupSession | ||
loopyLoop | ||
trashbin | ||
bookmark | ||
keyboardShortcut | ||
fullAppDisplayMod | ||
# i aint paying for shit | ||
adblock | ||
]; | ||
enabledCustomApps = with spicePkgs.apps; [ | ||
lyrics-plus | ||
localFiles | ||
]; | ||
spotifyd = { | ||
enable = true; | ||
package = pkgs.spotifyd.override {withMpris = true;}; | ||
settings.global = { | ||
autoplay = true; | ||
backend = "pulseaudio"; | ||
bitrate = 320; | ||
cache_path = "${config.xdg.cacheHome}/spotifyd"; | ||
device_type = "computer"; | ||
initial_volume = "100"; | ||
password_cmd = "head -1 /run/agenix/spotify"; | ||
use_mpris = true; | ||
username_cmd = "tail -1 /run/agenix/spotify"; | ||
volume_normalisation = false; | ||
}; | ||
}; | ||
}; | ||
|
||
xdg.configFile."spotify-tui/config.yml".text = '' | ||
theme: | ||
error_border: "243, 139, 168" # error dialog border is Red | ||
error_text: "235, 160, 172" # error message text (e.g. "Spotify API reported error 404") is Maroon | ||
hint: "249, 226, 175" # hint text in errors Yellow | ||
playbar_background: "17, 17, 27" # background of progress bar "Crust" | ||
playbar_progress: "24, 24, 37" # filled-in part of the progress bar Mantle | ||
playbar_progress_text: "166, 227, 161" # song length and time played/left indicator in the progress bar "Green" | ||
playbar_text: "166, 173, 200" # artist name in player pane is "Subtext 0" | ||
inactive: "108, 112, 134" # borders of inactive panes "Overlay 0" | ||
text: "205, 214, 244" # text in panes is "Text" | ||
active: "203, 166, 247" # current playing song in list Mauve | ||
banner: "245, 194, 231" # the "spotify-tui" banner on launch pink | ||
hovered: "245, 194, 231" # hovered pane border Pink | ||
selected: "180, 190, 254" # a) selected pane border, b) hovered item in list, & c) track title in player Lavender | ||
header: "180, 190, 254" # header text in panes (e.g. 'Title', 'Artist', etc.) Lavender | ||
''; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,8 @@ | ||
let | ||
sioodmy = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIE9ExEl6WqtCI4yCqbSAhAGmzvVp/nYADbgy/Qi4AKQy sioodmy@anthe"; | ||
|
||
anthe = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAACAQC3LBESPBY559NbAJ7KL/+K4S5InhWf5YDQgl2XjT5ZxTtPg0x24IDcEmxrPi+7nKSAvMJCkneTfWHPYoRYrNA/G15a+Pqr/9w1EtuK+D054qtz2q+oUM029JdTP/0qzbKxAV/qzUXyJyrgcGRnRYhFRKmg3Sl7G7mxhYN20RIYL3ENXnpfculGrnqX8yONda7YRQfjyEQAsLUIS4aEN7pQsUGO2lGzvXueHcRGRflbatVD59REWoD5kYE984EVhgbky092HHhDR5rIFnFJygrhl9irYk7x6Un98qsvKBeRKzpNMZ1iqs8EFdSbayNdRimooSyFLx83pUhx7SY01cJXxuVmW8Rec9xgnW8rrclz2H+ArQHSZQz/T/QPH2zZgtE3A2xX5HsmQnCu/h7yOpwD6ULTyR8/xK61jHgx4AM1hLyGGrMoPailSXyvT9OGnmXuvcIrx8R2oHy7e48DGWiTHoW8+nltWURkUjdolg373ruLxT+Rqf1JFgPcFwCEVSjVxtTz33ljFD31OOKjs5O2y/9jndwcx54twlgLr+H/6Y1SWIPNeuhNO3IiGuFkH3+JLrQLXVN9UIE1/qHyOIIJpR3ONd4uW6xDsnl8SBZUWuYf468FQGHkinWZxdYdi1SlHbulXxGPTiRjqSUBeR9fB+CND2WJEvfeSJccofk29w== root@anthe"; | ||
in { | ||
"spotify.age".publicKeys = [sioodmy anthe]; | ||
"spotify-tui.age".publicKeys = [sioodmy anthe]; | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,28 @@ | ||
-----BEGIN AGE ENCRYPTED FILE----- | ||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IEc2d0ltdyBGVWp2 | ||
b0wrMnh5cGlCeHdoWWoxTEZadUpYSWZ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ZaRHdkRjlwMVpOYWFoRkU1b2dEaCtDVjdrCi0+IHZES2QtZ3JlYXNlIGlBLDgg | ||
IV1SJjw3W2ogNGIueHkKUENaWGtTZjZwYjBQTlFBSjVHTXdkMU5Zc282bXRrREVq | ||
eVZCL1ZadFkwTFliT1BDdklBdHZCOHNQN0xFS3RMSAozVDdxN01MVW5TY2VEYk4y | ||
SzJjRkhCc2wKLS0tIEd4YVc1SG1xVzdwSzJ3bFFVa3MzZHJwb2dXdGJIK0g4Vm11 | ||
M1FzamhaMmcKH/KIJXfHng0MxeqscwrjzgDzFvGJNkcTuQNgiMgRfHG7ANjxlTLg | ||
1CgLejd2tpS0Qy65xzEdfyNytGulknVpw9bckuT9E1HcMUcZYUeOfjL76pjMmO1H | ||
rxh6JhSaG6lQQglE4nUClBvqgEp0PEbiFPqvWY83ujADZb/S1UBKYodulmTnnYMX | ||
JUTbggflfz49/kS7VUx1EotEM3C0ExcqOXXmbVuXVZZqgkpXfw8H84ZSzp8cf+bn | ||
GYBd3/F/vEE= | ||
-----END AGE ENCRYPTED FILE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
-----BEGIN AGE ENCRYPTED FILE----- | ||
YWdlLWVuY3J5cHRpb24ub3JnL3YxCi0+IHNzaC1lZDI1NTE5IEc2d0ltdyA1VS92 | ||
VGNiVWFDYkZKNWFNM2VBcnVpVjV0Q2tSTWRTVXZ2UXFpUmVsK0hJCkRLMnhqN0h3 | ||
WWNpL0t4VHRndE9aV3c4bGJGV1hSVmtWVHJDeEp2OTJxaXMKLT4gc3NoLXJzYSAy | ||
OWI5aVEKRHNWRDRodzhGU0RKK2JmTXc0YkZCcTRCQ1ZGSDVwZnJtOEhPd04zU3Rr | ||
b2p5TnNLS25WdWl2TFRMOUlRbUlldQpJYVRUQXBJY1h2OWowVExh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UtWdHJsNGhQdng5T1NybFNRejB5Yy9rYwotLS0gazhmMWlrYjI0SzMvWUdjbU92 | ||
c1dKVkNic0I1a0UwVEdqUktoSHJhSjlVWQrTCwMlrk8bkcHLYiJkpe12XWFURpTT | ||
AgklwVIBABsxv0cB0fYPFLHOohH78nF8Ww4HPTw0QwzIQA2zMcrMpmhPMFxv26xD | ||
mTovt5AaNqJyoHkfWCONjI37sKHIZoth7eoGWyivhpcO+mMN1EUdI6asAMwQol5l | ||
8Xqrx84mhpZD72bwNDUn9t1C5JS+GIMkf01zI8o= | ||
-----END AGE ENCRYPTED FILE----- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters