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 + ]; +}