Vscode: use catppuccin theme

This commit is contained in:
Toast 2023-10-30 13:52:24 +01:00
parent 3dfdbe92c6
commit 25afdc2a3a
3 changed files with 36 additions and 3 deletions

21
flake.lock generated
View file

@ -22,6 +22,26 @@
"type": "github"
}
},
"catppuccin-vsc": {
"inputs": {
"nixpkgs": [
"nixpkgs-unstable"
]
},
"locked": {
"lastModified": 1698626248,
"narHash": "sha256-oLkdb+041m26qU7SOy9vR8Hf6FejS1sjLnHghOya/5o=",
"owner": "catppuccin",
"repo": "vscode",
"rev": "e8dfc6d92dd33ffdd1db00b9b6cd1e78844dada4",
"type": "github"
},
"original": {
"owner": "catppuccin",
"repo": "vscode",
"type": "github"
}
},
"home-manager": {
"inputs": {
"nixpkgs": [
@ -254,6 +274,7 @@
"root": {
"inputs": {
"agenix": "agenix",
"catppuccin-vsc": "catppuccin-vsc",
"home-manager": "home-manager_2",
"home-manager-unstable": "home-manager-unstable",
"jovian": "jovian",

View file

@ -51,9 +51,14 @@ inputs = {
inputs.nixpkgs.follows = "nixpkgs-unstable";
inputs.home-manager.follows = "home-manager-unstable";
};
catppuccin-vsc = {
url = "github:catppuccin/vscode";
inputs.nixpkgs.follows = "nixpkgs-unstable";
};
};
outputs = { self, nixpkgs, nixpkgs-unstable, agenix, home-manager, home-manager-unstable, nixos-hardware, nix-impermanence, nix-index-db, nix-index-db-unstable, jovian, plasma-manager, ... } @inputs: {
outputs = { self, nixpkgs, nixpkgs-unstable, agenix, home-manager, home-manager-unstable, nixos-hardware, nix-impermanence, nix-index-db, nix-index-db-unstable, jovian, plasma-manager, catppuccin-vsc, ... } @inputs: {
devShells.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux.mkShell {
name = "Environment for toast's nixos configurations";

View file

@ -1,8 +1,15 @@
{ config, pkgs, ... }:
{ config, pkgs, flakeSelf, ... }:
let inputs = flakeSelf.inputs; in
{
nixpkgs.overlays = [ inputs.catppuccin-vsc.overlays.default ];
home-manager.users.toast.programs.vscode = {
enable = true;
package = pkgs.vscodium;
extensions = [
pkgs.catppuccin-vsc
];
userSettings = {
"workbench.colorTheme" = "Catppuccin Mocha";
};
};
}