From 0e71c1a63792de19ca1d742ad4a8a9db244735f7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=2E=20Fernando=20S=C3=A1nchez?= Date: Mon, 4 May 2026 10:13:10 +0200 Subject: [PATCH] Add vscode config --- ghostty/.config/ghostty/config | 3 ++- home-manager/lenny.nix | 46 ++++++++++++++++++++++++++-------- jj/.config/jj/.gitignore | 1 + niri/.config/niri/config.kdl | 2 +- 4 files changed, 40 insertions(+), 12 deletions(-) create mode 100644 jj/.config/jj/.gitignore diff --git a/ghostty/.config/ghostty/config b/ghostty/.config/ghostty/config index a395fcc..9658ea8 100644 --- a/ghostty/.config/ghostty/config +++ b/ghostty/.config/ghostty/config @@ -25,7 +25,8 @@ # ========================== # # The config file consists of simple key-value pairs, # # separated by equals signs. -font-family = Iosevka +font-family = FiraCode Nerd Font Mono +font-size = 14 # window-padding-x = 2 # # # Spacing around the equals sign does not matter. diff --git a/home-manager/lenny.nix b/home-manager/lenny.nix index fb847c9..6838f84 100644 --- a/home-manager/lenny.nix +++ b/home-manager/lenny.nix @@ -1,16 +1,42 @@ { config, pkgs, ... }: { + nixpkgs.config.allowUnfree = true; home.packages = with pkgs; [ - ansible - awscli2 - cargo-cross - rustup - rustc - gcc - python3Packages.jedi-language-server - ruff - vial - chromium + ansible + awscli2 + cargo-cross + rustup + rustc + gcc + python3Packages.jedi-language-server + ruff + vial + chromium + + # Bloque VS Code corregido + ((pkgs.vscode-with-extensions.override { + vscodeExtensions = with pkgs.vscode-extensions; [ + jnoortheen.nix-ide + ms-python.python + ms-vscode-remote.remote-containers + ms-azuretools.vscode-docker + ms-vscode-remote.remote-ssh + vscodevim.vim + yzhang.markdown-all-in-one + ]; + }).overrideAttrs (oldAttrs: { + makeWrapperArgs = (oldAttrs.makeWrapperArgs or []) ++ [ + "--set-default" "NIXOS_OZONE_WL" "1" + ]; + })) # Los paréntesis dobles aseguran que se evalúe como un paquete único + ]; + home.file = { + ".config/Code/User/settings.json".text = '' + { + "window.titleBarStyle": "custom" + } + ''; + }; } diff --git a/jj/.config/jj/.gitignore b/jj/.config/jj/.gitignore new file mode 100644 index 0000000..c05e777 --- /dev/null +++ b/jj/.config/jj/.gitignore @@ -0,0 +1 @@ +repos diff --git a/niri/.config/niri/config.kdl b/niri/.config/niri/config.kdl index 4d2f72d..1b17fe9 100644 --- a/niri/.config/niri/config.kdl +++ b/niri/.config/niri/config.kdl @@ -118,7 +118,7 @@ output "DP-1" { // Run `niri msg outputs` while inside a niri instance to list all outputs and their modes. //mode "3840x2160@60" mode "3840x2160@60" - scale 1.25 + scale 1.5 //mode "1920x1080@60" //mode "2560x1440" //scale 1