Skip to content

Commit

Permalink
added spicetify-nix :3
Browse files Browse the repository at this point in the history
  • Loading branch information
pilz0 committed May 4, 2024
1 parent 9cc49f4 commit 57d904c
Show file tree
Hide file tree
Showing 4 changed files with 82 additions and 9 deletions.
71 changes: 70 additions & 1 deletion flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

19 changes: 12 additions & 7 deletions flake.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,27 +4,32 @@
inputs = {
# Nixpkgs
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";

# Spicetify
spicetify-nix.url = "github:the-argus/spicetify-nix";
# Home manager
home-manager.url = "github:nix-community/home-manager/";
home-manager.inputs.nixpkgs.follows = "nixpkgs";

# TODO: Add any other flake you might need
# hardware.url = "github:nixos/nixos-hardware";

# Shameless plug: looking for a way to nixify your themes and make
# everything match nicely? Try nix-colors!
# nix-colors.url = "github:misterio77/nix-colors";
};

outputs = {
self,
nixpkgs,
home-manager,
spicetify-nix,
...
} @ inputs: let
inherit (self) outputs;
pkgs = import nixpkgs { system = "x84_64-linux"; };
in {
homeConfigurations."marie" = home-manager.lib.homeManagerConfiguration {
inherit pkgs;
extraSpecialArgs = {inherit spicetify-nix;};
modules = [
./home.nix
./spicetify.nix # file where you configure spicetify
];
};
# NixOS configuration entrypoint
# Available through 'nixos-rebuild --flake .#your-hostname'
nixosConfigurations = {
Expand Down
1 change: 0 additions & 1 deletion home-manager/home.nix
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,6 @@
imports = [
# If you want to use home-manager modules from other flakes (such as nix-colors):
# inputs.nix-colors.homeManagerModule
./spicetify.nix
# You can also split up your configuration and import pieces of it here:
# ./nvim.nix
];
Expand Down
File renamed without changes.

0 comments on commit 57d904c

Please sign in to comment.