From 1f64b16ade2a2f3f3ad0ac0598c52f79a2afe183 Mon Sep 17 00:00:00 2001 From: lucy Date: Thu, 22 Oct 2026 10:16:29 +0200 Subject: [PATCH] add spicetify module --- flake.nix | 18 ++++++++++++------ modules/home/programs/spotify.nix | 8 ++++++++ modules/system/core/user.nix | 1 + 3 files changed, 21 insertions(+), 6 deletions(-) create mode 100644 modules/home/programs/spotify.nix diff --git a/flake.nix b/flake.nix index e1e33f8..71d80a7 100644 --- a/flake.nix +++ b/flake.nix @@ -24,11 +24,17 @@ url = "github:nix-community/stylix"; inputs.nixpkgs.follows = "nixpkgs"; }; + spicetify-nix = { + url = "github:Gerg-L/spicetify-nix"; + inputs.nixpkgs.follows = "nixpkgs"; + }; }; - outputs = inputs: inputs.flake-parts.lib.mkFlake { inherit inputs; } { - imports = [ - inputs.home-manager.flakeModules.home-manager - (inputs.import-tree ./modules) - ]; - }; + outputs = + inputs: + inputs.flake-parts.lib.mkFlake { inherit inputs; } { + imports = [ + inputs.home-manager.flakeModules.home-manager + (inputs.import-tree ./modules) + ]; + }; } diff --git a/modules/home/programs/spotify.nix b/modules/home/programs/spotify.nix new file mode 100644 index 0000000..723a939 --- /dev/null +++ b/modules/home/programs/spotify.nix @@ -0,0 +1,8 @@ +{ ... }: { + flake.homeModules.spotify = { + imports = [ inputs.spicetify-nix.homeManagerModules.spicetify-nix ]; + programs.spicetify = { + enable = true; + }; + }; +} diff --git a/modules/system/core/user.nix b/modules/system/core/user.nix index 09bcf7b..fb75bb4 100644 --- a/modules/system/core/user.nix +++ b/modules/system/core/user.nix @@ -29,6 +29,7 @@ stylix fuzzel quickshell + spotify syncthing ]; };