Create development profiles

Signed-off-by: Noah Knegt <git@noahknegt.com>
This commit is contained in:
2025-07-02 23:20:34 +02:00
parent 4dd8bb85c7
commit 004756d9ae

View File

@@ -3,43 +3,111 @@
{
programs.vscode = {
enable = true;
profiles.default.extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
profiles.default = {
extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
jnoortheen.nix-ide
mhutchie.git-graph
donjayamanne.githistory
eamodio.gitlens
mhutchie.git-graph
donjayamanne.githistory
eamodio.gitlens
# Rust plugins
rust-lang.rust-analyzer
tamasfe.even-better-toml
fill-labs.dependi
streetsidesoftware.code-spell-checker
gruntfuggly.todo-tree
];
ms-vscode.cpptools
];
userSettings = {
# Theme
"workbench.iconTheme" = "catppuccin-mocha";
"workbench.colorTheme" = "Catppuccin Mocha";
"workbench.sideBar.location" = "right";
"workbench.activityBar.location" = "bottom";
"editor.fontFamily" = "SauceCodePro";
profiles.default.userSettings = {
# Theme
"workbench.iconTheme" = "catppuccin-mocha";
"workbench.colorTheme" = "Catppuccin Mocha";
"workbench.sideBar.location" = "right";
"workbench.activityBar.location" = "bottom";
"editor.fontFamily" = "Source Code Pro";
# Settings for all files
"files.autoSave" = "off";
# Settings for all files
"files.autoSave" = "off";
# Git settings
"git.autofetch" = true;
"git.confirmSync" = false;
"git.alwaysSignOff" = true;
"git.pruneOnFetch" = true;
};
};
# Git settings
"git.autofetch" = true;
"git.confirmSync" = false;
"git.alwaysSignOff" = true;
"git.pruneOnFetch" = true;
profiles.home-manager = {
extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
mhutchie.git-graph
donjayamanne.githistory
eamodio.gitlens
# Nix lang settings
"[nix]"."editor.tabSize" = 2;
streetsidesoftware.code-spell-checker
gruntfuggly.todo-tree
# Nix specific extensions
jnoortheen.nix-ide
];
userSettings = {
# Theme
"workbench.iconTheme" = "catppuccin-mocha";
"workbench.colorTheme" = "Catppuccin Mocha";
"workbench.sideBar.location" = "right";
"workbench.activityBar.location" = "bottom";
"editor.fontFamily" = "SauceCodePro";
# Settings for all files
"files.autoSave" = "off";
# Git settings
"git.autofetch" = true;
"git.confirmSync" = false;
"git.alwaysSignOff" = true;
"git.pruneOnFetch" = true;
# Nix lang settings
"[nix]"."editor.tabSize" = 2;
};
};
profiles.rust = {
extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc
catppuccin.catppuccin-vsc-icons
mhutchie.git-graph
donjayamanne.githistory
eamodio.gitlens
streetsidesoftware.code-spell-checker
gruntfuggly.todo-tree
# Rust development
rust-lang.rust-analyzer
tamasfe.even-better-toml
fill-labs.dependi
];
userSettings = {
# Theme
"workbench.iconTheme" = "catppuccin-mocha";
"workbench.colorTheme" = "Catppuccin Mocha";
"workbench.sideBar.location" = "right";
"workbench.activityBar.location" = "bottom";
"editor.fontFamily" = "SauceCodePro";
# Settings for all files
"files.autoSave" = "off";
# Git settings
"git.autofetch" = true;
"git.confirmSync" = false;
"git.alwaysSignOff" = true;
"git.pruneOnFetch" = true;
};
};
};
}