mirror of
https://git.sr.ht/~rouven/nixos-config
synced 2025-04-26 00:18:28 +02:00
configured spotifyd and spt
This commit is contained in:
parent
0e085baeb1
commit
2cb528c2b7
7 changed files with 39 additions and 22 deletions
14
users/rouven/modules/spotify/default.nix
Normal file
14
users/rouven/modules/spotify/default.nix
Normal file
|
@ -0,0 +1,14 @@
|
|||
{ config, pkgs, ... }:
|
||||
{
|
||||
home.packages = [ pkgs.spotify-tui ];
|
||||
sops.secrets."spotify" = { };
|
||||
services.spotifyd = {
|
||||
enable = true;
|
||||
settings = {
|
||||
global = {
|
||||
username = config.accounts.email.accounts."gmail".address;
|
||||
password_cmd = "${pkgs.coreutils}/bin/cat $XDG_RUNTIME_DIR/secrets/spotify";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue