home: spotify_key
This commit is contained in:
parent
8e81943cf9
commit
bbf085ecc4
4 changed files with 25 additions and 1 deletions
|
|
@ -12,6 +12,7 @@
|
|||
inherit (osConfig.ooknet.console.tools) zellij;
|
||||
inherit (osConfig.ooknet.console) multiplexer;
|
||||
inherit (osConfig.ooknet.workstation) profiles;
|
||||
inherit (osConfig.age.secrets) spotify_key;
|
||||
inherit (config.ooknet) binds;
|
||||
in {
|
||||
config = mkIf (elem "media" profiles) {
|
||||
|
|
@ -36,7 +37,7 @@ in {
|
|||
enable = true;
|
||||
settings = {
|
||||
theme = "default";
|
||||
client_id = "fc4c3656d7cc4a7ea70c6080965f8b1a";
|
||||
client_id_command = "cat ${spotify_key.path}";
|
||||
client_port = 8080;
|
||||
tracks_playback_limit = 50;
|
||||
playback_format = "{track} • {artists}\n{album}\n{metadata}";
|
||||
|
|
|
|||
|
|
@ -27,5 +27,10 @@ in {
|
|||
owner = "${admin.name}";
|
||||
group = "users";
|
||||
};
|
||||
spotify_key = mkIf admin.homeManager {
|
||||
file = "${self}/secrets/spotify_key.age";
|
||||
owner = "${admin.name}";
|
||||
group = "users";
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
|
|||
|
|
@ -4,4 +4,5 @@ let
|
|||
in {
|
||||
"tailscale-auth.age".publicKeys = [users.ooks] ++ workstations;
|
||||
"github_key.age".publicKeys = [users.ooks] ++ workstations;
|
||||
"spotify_key.age".publicKeys = [users.ooks] ++ workstations;
|
||||
}
|
||||
|
|
|
|||
17
secrets/spotify_key.age
Normal file
17
secrets/spotify_key.age
Normal file
|
|
@ -0,0 +1,17 @@
|
|||
age-encryption.org/v1
|
||||
-> ssh-ed25519 xeHnUA JS3vC6UjW32ygReCgpFg0k0mKb11ePk1uVTv3JjNFCA
|
||||
hp3U3Z+p2ElIdWYoXDjhkDB6Aot3nYUvXzkcWkWLmIE
|
||||
-> ssh-ed25519 6HvatA ugr3I/PeZAcKnVT3IExWGfb6MLnedNWo0fRq3e+8OTs
|
||||
/a4vqlF4OkTjVDYJonjD69lRQtl7a61uq+df1W653Rs
|
||||
-> ssh-ed25519 3DwG4w auGvYsMmhQcB89CkVLbNzvb0rYzsb5OgO0DfA1tgXV0
|
||||
zWEUqUzB6cMOMRnfk4OH/ZT85FUkWW1Uef9DBPMG3fA
|
||||
-> ssh-ed25519 Nn8WxA xYcBZNj4mbYWYcuKDzyLaOOMZIlp7FHFO7qP2nuOlVQ
|
||||
C2QtOUPCOViQBF8Jlo6zdWpWfQzWVEXv8EXZ2Fdupxw
|
||||
-> ssh-ed25519 Gd+9pg rRCE9xYaCZ4r7mLMLndAG0j1NvI2Ot2l4XF4IsNgd2c
|
||||
KCpzoMzKXUT4ADJOjTCc+EpmCbKRfRSScymOjNsgZOI
|
||||
-> ssh-ed25519 eMj+Jg k2b6yw0fXNBh3dwZw6M/8TCVGixarXCXn7blv9/1EBk
|
||||
HT2J0UNdkR390bZDdCUXJUDYsbCkaeuNzrjhIOLnJG8
|
||||
-> ssh-ed25519 MQ/7Ew ozjLuPTO1RvkubkmdoaBagVVvg2nyEfPF8QFBrSPohk
|
||||
oCNH92rmX9xLKaVV5f4WQUIzE5PRYkTP0aGEvvOGoh4
|
||||
--- 8eT7lqu18Bl1t6bM8ONGFPS3lBi3W0YMbjhyDlM+KIY
|
||||
õâ}Þ‰—*_þôÎCÍ(Aóå%Î…!ÎÏŠÞ£ ?ÙËŠ_t¬³ìù7=%Uö·òXïñÏ’M$è”’9â7
|
||||
Loading…
Add table
Add a link
Reference in a new issue