From f20c16ac95e123e5834c342acf419c109b754088 Mon Sep 17 00:00:00 2001 From: blahai Date: Sat, 31 Aug 2024 01:10:17 +0300 Subject: [PATCH] spotify stuff --- flake.nix | 5 +++++ modules/home-manager/spotify/default.nix | 20 ++++++++++++++++++++ 2 files changed, 25 insertions(+) create mode 100644 modules/home-manager/spotify/default.nix diff --git a/flake.nix b/flake.nix index 1610db2..b4ca0c9 100644 --- a/flake.nix +++ b/flake.nix @@ -21,6 +21,11 @@ ags.url = "github:Aylur/ags/05e0f23534fa30c1db2a142664ee8f71e38db260"; + spicetify-nix = { + url = "github:Gerg-L/spicetify-nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; + sops-nix = { url = "github:Mic92/sops-nix"; inputs.nixpkgs.follows = "nixpkgs"; diff --git a/modules/home-manager/spotify/default.nix b/modules/home-manager/spotify/default.nix new file mode 100644 index 0000000..59aabb7 --- /dev/null +++ b/modules/home-manager/spotify/default.nix @@ -0,0 +1,20 @@ +{ pkgs, lib, config, ... }: { + + imports = [ + inputs.spicetify-nix.homeManagerModules.default + ]; + + programs.spicetify = + let + spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.system}; + in + { + enable = true; + enabledExtensions = with spicePkgs.extensions; [ + + hidePodcasts + ]; + theme = spicePkgs.themes.comfy; + colorScheme = "Hikari"; + } +} \ No newline at end of file