Set up spotifyd with spotify-qt
This commit is contained in:
21
users/daniel/configs/desktop/spotify/default.nix
Normal file
21
users/daniel/configs/desktop/spotify/default.nix
Normal file
@@ -0,0 +1,21 @@
|
||||
{
|
||||
config,
|
||||
lib,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
services.spotifyd = {
|
||||
enable = true;
|
||||
package = pkgs.spotifyd.override {withMpris = true;};
|
||||
settings = {
|
||||
global = {
|
||||
username = "me@danielpatterson.dev";
|
||||
password_cmd = "cat /run/agenix/spotify_pass";
|
||||
|
||||
initial_volume = "70";
|
||||
|
||||
device_type = "computer";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user