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": { "inputs": {
"systems": "systems" "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": { "locked": {
"lastModified": 1681202837, "lastModified": 1681202837,
"narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=", "narHash": "sha256-H+Rh19JDwRtpVPAWp64F+rlEtxUWBAQW28eAi3SRSzg=",
@ -97,7 +115,7 @@
"type": "github" "type": "github"
} }
}, },
"flake-utils_3": { "flake-utils_4": {
"locked": { "locked": {
"lastModified": 1667395993, "lastModified": 1667395993,
"narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=", "narHash": "sha256-nuEHfE/LcWyuSWnS8t12N1wc105Qtau+/OdUAjtQ0rA=",
@ -294,6 +312,7 @@
"nixpkgs": "nixpkgs", "nixpkgs": "nixpkgs",
"nur": "nur", "nur": "nur",
"scanned-image-extractor": "scanned-image-extractor", "scanned-image-extractor": "scanned-image-extractor",
"spicetify": "spicetify",
"starc": "starc", "starc": "starc",
"vscode-extensions": "vscode-extensions", "vscode-extensions": "vscode-extensions",
"wallpaper": "wallpaper" "wallpaper": "wallpaper"
@ -320,6 +339,27 @@
"url": "https://git.krsnik.at/Kristian/scanned-image-extractor.git" "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": { "squashfuse": {
"flake": false, "flake": false,
"locked": { "locked": {
@ -371,10 +411,25 @@
"type": "github" "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": { "vscode-extensions": {
"inputs": { "inputs": {
"flake-compat": "flake-compat_2", "flake-compat": "flake-compat_2",
"flake-utils": "flake-utils_2", "flake-utils": "flake-utils_3",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
] ]
@ -395,7 +450,7 @@
}, },
"wallpaper": { "wallpaper": {
"inputs": { "inputs": {
"flake-utils": "flake-utils_3", "flake-utils": "flake-utils_4",
"nixpkgs": [ "nixpkgs": [
"nixpkgs" "nixpkgs"
], ],

View File

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

View File

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

View File

@ -89,7 +89,6 @@
mullvad-vpn mullvad-vpn
# Entertainment # Entertainment
spotify
hypnotix hypnotix
# VPN client for university # 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
];
};
}