Home

dotnix @eaf3787f110f359fc58525e73515bd1d244f08ca - refs - log -
-
https://git.jolheiser.com/dotnix.git
My nix dotfiles
dotnix / apps / spotifyd.nix
- raw
 1
 2
 3
 4
 5
 6
 7
 8
 9
10
11
12
13
14
15
16
17
{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");
}