2022-11-10 14:57:07 +00:00
|
|
|
{ config, nixosConfig, pkgs, ... }:
|
2022-07-27 16:47:49 +01:00
|
|
|
let
|
2022-11-11 16:32:26 +00:00
|
|
|
font-size = if nixosConfig.networking.hostName == "tablet" then 18 else 24;
|
|
|
|
zoom-level = if nixosConfig.networking.hostName == "tablet" then -2 else 0;
|
2022-03-09 21:11:42 +00:00
|
|
|
in {
|
2022-11-11 16:32:26 +00:00
|
|
|
programs.vscode-mod = {
|
2021-12-21 14:00:09 +00:00
|
|
|
enable = true;
|
|
|
|
userSettings = {
|
2022-08-28 14:34:58 +01:00
|
|
|
"terminal.integrated.shellIntegration.enabled" = false;
|
|
|
|
"github.gitAuthentication" = false;
|
2022-11-11 16:32:26 +00:00
|
|
|
"editor.fontSize" = font-size;
|
2021-12-21 15:26:21 +00:00
|
|
|
"editor.fontFamily" = "'Comic Code'";
|
2022-11-11 16:32:26 +00:00
|
|
|
"terminal.integrated.fontSize" = font-size;
|
2021-12-21 15:26:21 +00:00
|
|
|
"editor.codeLensFontFamily" = "'Comic Code'";
|
|
|
|
"editor.inlayHints.fontFamily" = "'Comic Code'";
|
|
|
|
"markdown.preview.fontFamily" = "'Comic Code'";
|
|
|
|
"terminal.integrated.fontFamily" = "'Comic Code'";
|
|
|
|
"files.autoSave" = "afterDelay";
|
2022-11-11 16:32:26 +00:00
|
|
|
"window.zoomLevel" = zoom-level;
|
|
|
|
"editor.tabSize" = 2;
|
2021-12-21 14:00:09 +00:00
|
|
|
};
|
|
|
|
};
|
2021-12-21 15:26:21 +00:00
|
|
|
}
|