Add vscode, add settings for it managed by stow

This commit is contained in:
Alexander
2025-08-05 18:50:36 +02:00
parent b0c2bd1594
commit bce5674b84
7 changed files with 66 additions and 0 deletions
+2
View File
@@ -484,6 +484,8 @@ nix run github:nix-community/nixos-anywhere -- \
- [ ] Develop an automated installation script to handle the post-install process, such as fetching the AGE key and updating sops, based on [[https://unmovedcentre.com/posts/remote-install-nixos-config/#update-sops-file][this guide]]. - [ ] Develop an automated installation script to handle the post-install process, such as fetching the AGE key and updating sops, based on [[https://unmovedcentre.com/posts/remote-install-nixos-config/#update-sops-file][this guide]].
- [X] Document remote build setup process and add automation for SSH key exchange between machines. - [X] Document remote build setup process and add automation for SSH key exchange between machines.
There is now rebuild.sh script that can be used for easy remote build There is now rebuild.sh script that can be used for easy remote build
- [ ] Add prometheus for services on Proxmox
- [ ] Add matrix service in Proxmox
* Inspiration * Inspiration
The configuration and structure of this setup were inspired by the following repository: The configuration and structure of this setup were inspired by the following repository:
+1
View File
@@ -8,5 +8,6 @@
./random ./random
./browser ./browser
./terminal ./terminal
./development
]; ];
} }
+7
View File
@@ -0,0 +1,7 @@
{ config, lib, pkgs, ... }:
{
imports = [
./vscode
];
}
+16
View File
@@ -0,0 +1,16 @@
{ config, lib, pkgs, ... }:
with lib;
let
cfg = config.dov.development.vscode;
in {
options.dov.development.vscode.enable = mkEnableOption "vscode config";
config = mkIf cfg.enable {
home.packages = with pkgs; [
vscode.fhs
];
};
}
@@ -0,0 +1,19 @@
{
"chat.editor.fontFamily": "DejaVu Sans Mono",
"chat.editor.fontSize": 16.0,
"debug.console.fontFamily": "DejaVu Sans Mono",
"debug.console.fontSize": 16.0,
"editor.fontFamily": "DejaVu Sans Mono",
"editor.fontSize": 16.0,
"editor.inlayHints.fontFamily": "DejaVu Sans Mono",
"editor.inlineSuggest.fontFamily": "DejaVu Sans Mono",
"editor.minimap.sectionHeaderFontSize": 10.285714285714286,
"markdown.preview.fontFamily": "DejaVu Sans",
"markdown.preview.fontSize": 16.0,
"scm.inputFontFamily": "DejaVu Sans Mono",
"scm.inputFontSize": 14.857142857142858,
"screencastMode.fontSize": 64.0,
"terminal.integrated.fontSize": 16.0,
"workbench.colorTheme": "Stylix",
"redhat.telemetry.enabled": true
}
@@ -0,0 +1,19 @@
{
"chat.editor.fontFamily": "DejaVu Sans Mono",
"chat.editor.fontSize": 16.0,
"debug.console.fontFamily": "DejaVu Sans Mono",
"debug.console.fontSize": 16.0,
"editor.fontFamily": "DejaVu Sans Mono",
"editor.fontSize": 16.0,
"editor.inlayHints.fontFamily": "DejaVu Sans Mono",
"editor.inlineSuggest.fontFamily": "DejaVu Sans Mono",
"editor.minimap.sectionHeaderFontSize": 10.285714285714286,
"markdown.preview.fontFamily": "DejaVu Sans",
"markdown.preview.fontSize": 16.0,
"scm.inputFontFamily": "DejaVu Sans Mono",
"scm.inputFontSize": 14.857142857142858,
"screencastMode.fontSize": 64.0,
"terminal.integrated.fontSize": 16.0,
"workbench.colorTheme": "Stylix",
"redhat.telemetry.enabled": true
}
+2
View File
@@ -56,6 +56,8 @@
shell = "${pkgs.nushell}/bin/nu"; shell = "${pkgs.nushell}/bin/nu";
}; };
}; };
development.vscode.enable = true;
}; };
programs = { programs = {