Problem installing spicetify-nix

Hello,i am new to NixOS and i’m having trouble installing spicetify-nix.I can’t find where i did mistake.


error: path '.../spicetify-nix' does not exist

here is my spicetify.nix and flake.nix:

Flake:


  description = "Home Manager + NVF setup + spicetify";
  inputs = {
    nixpkgs.url = "github:NixOS/nixpkgs/nixos-unstable";
    home-manager.url = "github:nix-community/home-manager";
    nvf.url = "github:notashelf/nvf";
    spicetify-nix.url = "github:Gerg-L/spicetify-nix";
  };

  outputs = { self, nixpkgs, home-manager, nvf, spicetify-nix, ... } : {
    homeConfigurations."unvoid" = home-manager.lib.homeManagerConfiguration {
      extraSpecialArgs = { inherit spicetify-nix; };
      pkgs = nixpkgs.legacyPackages.x86\_64-linux;

      modules = [
        nvf.homeManagerModules.default
        spicetify-nix.homeManagerModules.default
        ./home.nix
        ./spicetify-nix
      ];
    };
  };
}

Spicetify:


let
  spicePkgs = spicetify-nix.legacyPackages.x86_64;
in

{

  programs.spicetify = {
    enable = true;
    enabledExtensions = with spicePkgs.extensions; [
        "fullAppDisplay"
        "trashbin"
        "loopyLoop"
    ];

 };

}

You have ./spicetify-nix with a dash in your flake.nix, did you mean ./spicetify.nix with a dot? You might also need to add it to git if you’re using git to track your nix config.

2 Likes