From 1f64b16ade2a2f3f3ad0ac0598c52f79a2afe183 Mon Sep 17 00:00:00 2001 From: lucy Date: Thu, 22 Oct 2026 10:16:29 +0200 Subject: [PATCH 1/2] 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 ]; }; From 8d3a9b8b4bdbc9a6e24d7e7d31c11998a067a4d5 Mon Sep 17 00:00:00 2001 From: lucy Date: Thu, 22 Oct 2026 10:22:05 +0200 Subject: [PATCH 2/2] enable stylix target for spicetify --- flake.lock | 39 ++++++++++++++++++++++++++++++- modules/home/programs/spotify.nix | 4 ++-- modules/home/stylix/targets.nix | 1 + 3 files changed, 41 insertions(+), 3 deletions(-) diff --git a/flake.lock b/flake.lock index 9f34b63..791505f 100644 --- a/flake.lock +++ b/flake.lock @@ -393,9 +393,31 @@ "nix-easyroam": "nix-easyroam", "nixcord": "nixcord", "nixpkgs": "nixpkgs", + "spicetify-nix": "spicetify-nix", "stylix": "stylix" } }, + "spicetify-nix": { + "inputs": { + "nixpkgs": [ + "nixpkgs" + ], + "systems": "systems" + }, + "locked": { + "lastModified": 1792312987, + "narHash": "sha256-W76wP2Kr/a/E2IMK3wtBD5WaTJJnB21C25pWUbD5IC8=", + "owner": "Gerg-L", + "repo": "spicetify-nix", + "rev": "fc58c85761e0893299092f482150305b1ef60914", + "type": "github" + }, + "original": { + "owner": "Gerg-L", + "repo": "spicetify-nix", + "type": "github" + } + }, "stylix": { "inputs": { "base16": "base16", @@ -409,7 +431,7 @@ "nixpkgs" ], "nur": "nur", - "systems": "systems", + "systems": "systems_2", "tinted-kitty": "tinted-kitty", "tinted-schemes": "tinted-schemes", "tinted-tmux": "tinted-tmux", @@ -430,6 +452,21 @@ } }, "systems": { + "locked": { + "lastModified": 1791244623, + "narHash": "sha256-uuanbkFk8a313Zfrxdcz8Us/yQtaxNnKJtX8v0ZPpd8=", + "owner": "nix-systems", + "repo": "default", + "rev": "d36eeed142f88b5a636f2e3856a53c61654cf29b", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, + "systems_2": { "locked": { "lastModified": 1774449309, "narHash": "sha256-brhZ8DmuGtzkCYHJg4HEd602amKm89Y9ytsFZ5uWD1w=", diff --git a/modules/home/programs/spotify.nix b/modules/home/programs/spotify.nix index 723a939..cb5ee08 100644 --- a/modules/home/programs/spotify.nix +++ b/modules/home/programs/spotify.nix @@ -1,6 +1,6 @@ -{ ... }: { +{ inputs, ... }: { flake.homeModules.spotify = { - imports = [ inputs.spicetify-nix.homeManagerModules.spicetify-nix ]; + imports = [ inputs.spicetify-nix.homeManagerModules.spicetify ]; programs.spicetify = { enable = true; }; diff --git a/modules/home/stylix/targets.nix b/modules/home/stylix/targets.nix index 7575d92..1f9c614 100644 --- a/modules/home/stylix/targets.nix +++ b/modules/home/stylix/targets.nix @@ -6,6 +6,7 @@ gtk.enable = true; emacs.enable = true; nixcord.enable = true; + spicetify.enable = true; }; }; }