Compare commits

..

3 commits

Author SHA1 Message Date
4b1c7e7bd1 Vscode: enable catppuccin recommended settings 2023-10-30 14:10:28 +01:00
25afdc2a3a Vscode: use catppuccin theme 2023-10-30 13:52:24 +01:00
3dfdbe92c6 Desktop: enable vscode 2023-10-30 12:03:20 +01:00
4 changed files with 49 additions and 1 deletions

21
flake.lock generated
View file

@ -22,6 +22,26 @@
"type": "github" "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": { "home-manager": {
"inputs": { "inputs": {
"nixpkgs": [ "nixpkgs": [
@ -254,6 +274,7 @@
"root": { "root": {
"inputs": { "inputs": {
"agenix": "agenix", "agenix": "agenix",
"catppuccin-vsc": "catppuccin-vsc",
"home-manager": "home-manager_2", "home-manager": "home-manager_2",
"home-manager-unstable": "home-manager-unstable", "home-manager-unstable": "home-manager-unstable",
"jovian": "jovian", "jovian": "jovian",

View file

@ -51,9 +51,14 @@ inputs = {
inputs.nixpkgs.follows = "nixpkgs-unstable"; inputs.nixpkgs.follows = "nixpkgs-unstable";
inputs.home-manager.follows = "home-manager-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 { devShells.x86_64-linux.default = nixpkgs.legacyPackages.x86_64-linux.mkShell {
name = "Environment for toast's nixos configurations"; name = "Environment for toast's nixos configurations";

View file

@ -7,5 +7,6 @@
./micro.nix ./micro.nix
./keepassxc.nix ./keepassxc.nix
./jamesdsp.nix ./jamesdsp.nix
./vscode.nix
]; ];
} }

View file

@ -0,0 +1,21 @@
{ 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";
"editor" = {
"fontFamily" = "JetBrainsMono Nerd Font";
"semanticHighlighting.enabled" = true;
};
terminal.integrated.minimumContrastRatio = 1;
window.titleBarStyle = "custom";
};
};
}