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