fix(vscode): move extensions under profiles.default
programs.vscode.extensions was renamed to programs.vscode.profiles.default.extensions in home-manager. The bare option still worked via the compat shim but emitted a deprecation warning on every eval (21× — once per home evaluation in flake check) and will break when the alias is dropped. userSettings already lived under profiles.default; extensions now joins it. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -108,17 +108,19 @@ in
|
|||||||
programs.vscode = {
|
programs.vscode = {
|
||||||
enable = lib.mkDefault true;
|
enable = lib.mkDefault true;
|
||||||
package = lib.mkDefault pkgs.vscode;
|
package = lib.mkDefault pkgs.vscode;
|
||||||
profiles.default.userSettings = lib.mkDefault {
|
profiles.default = {
|
||||||
"update.mode" = "none";
|
userSettings = lib.mkDefault {
|
||||||
"workbench.colorTheme" = themeConfig.name;
|
"update.mode" = "none";
|
||||||
"window.titleBarStyle" = "custom";
|
"workbench.colorTheme" = themeConfig.name;
|
||||||
"editor.fontFamily" = "'${config.nomarchy.fonts.monospace}', 'Droid Sans Mono', monospace";
|
"window.titleBarStyle" = "custom";
|
||||||
"terminal.integrated.fontFamily" = config.nomarchy.fonts.monospace;
|
"editor.fontFamily" = "'${config.nomarchy.fonts.monospace}', 'Droid Sans Mono', monospace";
|
||||||
|
"terminal.integrated.fontFamily" = config.nomarchy.fonts.monospace;
|
||||||
|
};
|
||||||
|
extensions = lib.mkDefault (
|
||||||
|
themeExtensions
|
||||||
|
++ lib.optionals config.nomarchy.vscode.devExtensions devExtensions
|
||||||
|
);
|
||||||
};
|
};
|
||||||
extensions = lib.mkDefault (
|
|
||||||
themeExtensions
|
|
||||||
++ lib.optionals config.nomarchy.vscode.devExtensions devExtensions
|
|
||||||
);
|
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user