mirror of
https://github.com/danth/stylix
synced 2025-02-16 21:38:40 +00:00
vscode: Set editor and terminal font (#93)
This commit is contained in:
parent
906574cb37
commit
bd1b970115
1 changed files with 7 additions and 1 deletions
|
@ -1,5 +1,7 @@
|
|||
{pkgs, config, lib, ... }:
|
||||
|
||||
with config.stylix.fonts;
|
||||
|
||||
let
|
||||
themeFile = config.lib.stylix.colors {
|
||||
template = builtins.readFile ./template.mustache;
|
||||
|
@ -23,7 +25,11 @@ in {
|
|||
config = lib.mkIf config.stylix.targets.vscode.enable {
|
||||
programs.vscode = {
|
||||
extensions = [ themeExtension ];
|
||||
userSettings."workbench.colorTheme" = "Stylix";
|
||||
userSettings = {
|
||||
workbench.colorTheme = "Stylix";
|
||||
terminal.integrated.fontFamily = "'${monospace.name}'";
|
||||
editor.fontFamily = "'${monospace.name}'";
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue