add spicetify

This commit is contained in:
Jakub Kropáček 2025-07-28 21:11:27 +02:00
parent 6ffbc5cc7d
commit 7a30eeda90
Signed by: JustScreaMy
GPG key ID: 4EC6A2C45D75FC86
6 changed files with 89 additions and 2 deletions

View file

@ -133,6 +133,22 @@
"type": "github"
}
},
"nixpkgs_2": {
"locked": {
"lastModified": 1753429684,
"narHash": "sha256-9h7+4/53cSfQ/uA3pSvCaBepmZaz/dLlLVJnbQ+SJjk=",
"owner": "NixOS",
"repo": "nixpkgs",
"rev": "7fd36ee82c0275fb545775cc5e4d30542899511d",
"type": "github"
},
"original": {
"owner": "NixOS",
"ref": "nixos-unstable",
"repo": "nixpkgs",
"type": "github"
}
},
"plasma-manager": {
"inputs": {
"home-manager": [
@ -165,7 +181,27 @@
"nix-flatpak": "nix-flatpak",
"nixos-hardware": "nixos-hardware",
"nixpkgs": "nixpkgs",
"plasma-manager": "plasma-manager"
"plasma-manager": "plasma-manager",
"spicetify-nix": "spicetify-nix"
}
},
"spicetify-nix": {
"inputs": {
"nixpkgs": "nixpkgs_2",
"systems": "systems_2"
},
"locked": {
"lastModified": 1753591727,
"narHash": "sha256-Ow+qyFckroPS4SQFHcFZ8mKh3HIQ2pQdC6DRjiYF9EE=",
"owner": "Gerg-L",
"repo": "spicetify-nix",
"rev": "26c488b60360e15db372483d826cec89ac532980",
"type": "github"
},
"original": {
"owner": "Gerg-L",
"repo": "spicetify-nix",
"type": "github"
}
},
"systems": {
@ -182,6 +218,21 @@
"repo": "default",
"type": "github"
}
},
"systems_2": {
"locked": {
"lastModified": 1681028828,
"narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=",
"owner": "nix-systems",
"repo": "default",
"rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e",
"type": "github"
},
"original": {
"owner": "nix-systems",
"repo": "default",
"type": "github"
}
}
},
"root": "root",

View file

@ -41,6 +41,8 @@
nixpkgs.follows = "nixpkgs";
};
};
spicetify-nix.url = "github:Gerg-L/spicetify-nix";
};
outputs =

View file

@ -24,7 +24,6 @@ in
};
config = lib.mkIf cfg.enable {
home.packages = with pkgs; [
spotify
moonlight-qt
jetbrains-mono
mattermost-desktop

View file

@ -11,5 +11,6 @@
./zoxide.nix
./zsh.nix
./libreoffice.nix
./spicetify.nix
];
}

View file

@ -0,0 +1,33 @@
{
lib,
config,
inputs,
pkgs,
...
}:
let
cfg = config.krop.hm.programs.spicetify;
spicePkgs = inputs.spicetify-nix.legacyPackages.${pkgs.stdenv.system};
in
{
options.krop.hm.programs.spicetify = {
enable = lib.mkOption {
type = lib.types.bool;
default = true;
example = false;
description = "Enable my spicetify configuration";
};
};
config = lib.mkIf cfg.enable {
programs.spicetify = {
enable = true;
theme = spicePkgs.themes.sleek;
colorScheme = "Coral";
enabledExtensions = with spicePkgs.extensions; [
shuffle
volumePercentage
hidePodcasts
];
};
};
}

View file

@ -211,6 +211,7 @@
sharedModules = [
../../homeManagerModules
inputs.plasma-manager.homeManagerModules.plasma-manager
inputs.spicetify-nix.homeManagerModules.spicetify
];
};