1
0
Fork 0
This repository has been archived on 2024-01-18. You can view files and clone it, but cannot push or open issues/pull-requests.
dotnix-archive/apps/spotifyd.nix

18 lines
508 B
Nix
Raw Normal View History

{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");
}