fix(gui): cleaner defaults
This commit is contained in:
parent
395b28609c
commit
49fe8142ad
2 changed files with 12 additions and 11 deletions
|
@ -3,6 +3,7 @@
|
|||
, config
|
||||
, ... }: with lib; let
|
||||
cfg = config.passthrough.vscode;
|
||||
theme = config.passthrough.catppuccin.enable;
|
||||
in mkIf cfg.enable {
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
|
@ -15,8 +16,8 @@ in mkIf cfg.enable {
|
|||
bbenoist.nix golang.go rust-lang.rust-analyzer
|
||||
];
|
||||
userSettings = {
|
||||
"workbench.colorTheme" = "Catppuccin Frappé";
|
||||
"workbench.iconTheme" = "catppuccin-frappe";
|
||||
"workbench.colorTheme" = mkIf theme "Catppuccin Frappé";
|
||||
"workbench.iconTheme" = mkIf theme "catppuccin-frappe";
|
||||
"[nix]"."editor.tabSize" = 2;
|
||||
};
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue