From 675f37c5b17bc829e18c2f9de8d0de51311ea304 Mon Sep 17 00:00:00 2001 From: Youwen Wu Date: Thu, 22 Aug 2024 01:38:05 -0700 Subject: [PATCH] feat: add spotifyd module --- flake.nix | 2 +- modules/nixos/spotifyd/default.nix | 9 +++++++++ 2 files changed, 10 insertions(+), 1 deletion(-) create mode 100644 modules/nixos/spotifyd/default.nix diff --git a/flake.nix b/flake.nix index 8282dc3..1528d7b 100755 --- a/flake.nix +++ b/flake.nix @@ -69,7 +69,7 @@ apple-silicon, ... } @ inputs: let - in rec { + in { formatter = with nixpkgs.legacyPackages; { x86_64-linux = x86_64-linux.alejandra; aarch64-linux = aarch64-linux.alejandra; diff --git a/modules/nixos/spotifyd/default.nix b/modules/nixos/spotifyd/default.nix new file mode 100644 index 0000000..d06298e --- /dev/null +++ b/modules/nixos/spotifyd/default.nix @@ -0,0 +1,9 @@ +{pkgs, ...}: { + services.spotifyd = { + enable = true; + # settings = {global = 320;}; + }; + environment.systemPackages = [ + pkgs.spotify-player + ]; +}