added spicetify

This commit is contained in:
Kristian Krsnik 2024-02-13 20:56:08 +01:00
parent a7b7f92d94
commit 4f1f1dfa77
Signed by: Kristian
GPG Key ID: FD1330AC9F909E85
5 changed files with 97 additions and 5 deletions

View File

@ -83,6 +83,24 @@
"inputs": {
"systems": "systems"
},
"locked": {
"lastModified": 1685518550,
"narHash": "sha256-o2d0KcvaXzTrPRIo0kOLV0/QXHhDQ5DTi+OxcjO8xqY=",
"owner": "numtide",
"repo": "flake-utils",
"rev": "a1720a10a6cfe8234c0e93907ffe81be440f4cef",
"type": "github"
},
"original": {
"owner": "numtide",
"repo": "flake-utils",
"type": "github"
}
},
"flake-utils_3": {
"inputs": {
"systems": "systems_2"
},
"locked": {
"lastModified": 1681202837,
"narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=",
@ -97,7 +115,7 @@
"type": "github"
}
},
"flake-utils_3": {
"flake-utils_4": {
"locked": {
"lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
@ -294,6 +312,7 @@
"nixpkgs": "nixpkgs",
"nur": "nur",
"scanned-image-extractor": "scanned-image-extractor",
"spicetify": "spicetify",
"starc": "starc",
"vscode-extensions": "vscode-extensions",
"wallpaper": "wallpaper"
@ -320,6 +339,27 @@
"url": "https://git.krsnik.at/Kristian/scanned-image-extractor.git"
}
},
"spicetify": {
"inputs": {
"flake-utils": "flake-utils_2",
"nixpkgs": [
"nixpkgs"
]
},
"locked": {
"lastModified": 1704167711,
"narHash": "sha256-kFDq+kf/Di/P8bq5sUP8pVwRkrSVrABksBjMPmLic3s=",
"owner": "the-argus",
"repo": "spicetify-nix",
"rev": "1325416f951d6a82cfddb1289864ad782e2b87c4",
"type": "github"
},
"original": {
"owner": "the-argus",
"repo": "spicetify-nix",
"type": "github"
}
},
"squashfuse": {
"flake": false,
"locked": {
@ -371,10 +411,25 @@
"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"
}
},
"vscode-extensions": {
"inputs": {
"flake-compat": "flake-compat_2",
"flake-utils": "flake-utils_2",
"flake-utils": "flake-utils_3",
"nixpkgs": [
"nixpkgs"
]
@ -395,7 +450,7 @@
},
"wallpaper": {
"inputs": {
"flake-utils": "flake-utils_3",
"flake-utils": "flake-utils_4",
"nixpkgs": [
"nixpkgs"
],

View File

@ -30,6 +30,11 @@
inputs.nixpkgs.follows = "nixpkgs";
};
spicetify = {
url = "github:the-argus/spicetify-nix";
inputs.nixpkgs.follows = "nixpkgs";
};
starc = {
url = "git+https://git.krsnik.at/Kristian/starc-flake.git";
inputs.nixpkgs.follows = "nixpkgs";
@ -51,6 +56,7 @@
wallpaper,
nix-index-database,
vscode-extensions,
spicetify,
starc,
scanned-image-extractor,
}: let
@ -63,9 +69,14 @@
commonModules = [
./systems/common
{
_module.args.wallpaper = wallpaper.packages.${system}.default;
_module.args = {
inherit spicetify;
wallpaper = wallpaper.packages.${system}.default;
};
}
spicetify.homeManagerModule
nur.nixosModules.nur
nix-index-database.hmModules.nix-index

View File

@ -30,6 +30,7 @@
./thunderbird.nix
./vscode.nix
./mpv.nix
./spiceify.nix
];
# Programs

View File

@ -89,7 +89,6 @@
mullvad-vpn
# Entertainment
spotify
hypnotix
# VPN client for university

View File

@ -0,0 +1,26 @@
{
pkgs,
spicetify,
...
}: let
spicePkgs = spicetify.packages.${pkgs.system}.default;
in {
programs.spicetify = {
enable = true;
theme = spicePkgs.themes.catppuccin;
colorScheme = "frappe";
enabledExtensions = with spicePkgs.extensions; [
fullAppDisplay
shuffle # shuffle+ (special characters are sanitized out of ext names)
hidePodcasts
groupSession
playlistIntersection
skipStats
phraseToPlaylist
wikify
songStats
];
};
}