ctucx.git: nixfiles

ctucx' nixfiles

commit 547b138cb3114b5ae3a3bb798f0ba60049c79082
parent a717ba69649c601c19ea1bf18f5da0490ed32dd3
Author: Leah (ctucx) <leah@ctu.cx>
Date: Fri, 27 May 2022 13:25:43 +0200

services/spotifyd: use spotifyd from unstable-nixplgs
1 file changed, 3 insertions(+), 1 deletion(-)
diff --git a/configurations/services/spotifyd.nix b/configurations/services/spotifyd.nix
@@ -1,7 +1,8 @@
 { config, pkgs, ... }:
 
 let
-  secrets = import ../../secrets;
+  pkgsUnstable = import <nixpkgsUnstable> {};
+  secrets      = import ../../secrets;
 
 in {
 

@@ -22,6 +23,7 @@ in {
   home-manager.users.leah = {
     services.spotifyd = {
       enable   = true;
+      package  = pkgsUnstable.spotifyd;
       settings = {
         global = {
           username_cmd   = "${pkgs.coreutils}/bin/cat ${config.age.secrets.spotify-username.path}";