feat: update VSCodium configuration

feat: add nil language server
refactor: remove unnecessary ssh config content
This commit is contained in:
Jo 2024-12-03 18:24:27 +01:00
parent a45e263617
commit 4966b26ec4
4 changed files with 12 additions and 31 deletions

View file

@ -9,7 +9,7 @@
enable = true; enable = true;
package = pkgs.vscodium; package = pkgs.vscodium;
extensions = with pkgs.vscode-extensions; [ extensions = with pkgs.vscode-extensions; [
wakatime.vscode-wakatime # Wakatime for coding statistics # wakatime.vscode-wakatime # Wakatime for coding statistics
vue.volar # Vue support vue.volar # Vue support
svelte.svelte-vscode # Svelte support svelte.svelte-vscode # Svelte support
pkief.material-icon-theme # Material icons pkief.material-icon-theme # Material icons
@ -20,5 +20,9 @@
catppuccin.catppuccin-vsc # Catppuccin theme catppuccin.catppuccin-vsc # Catppuccin theme
jnoortheen.nix-ide # Nix language support jnoortheen.nix-ide # Nix language support
]; ];
userSettings = {
"nix.enableLanguageServer" = true;
"nix.serverPath" = "nil";
};
}; };
} }

View file

@ -57,6 +57,7 @@
bun bun
devenv devenv
python39 python39
nil
### Rust development specific ### Rust development specific
rustup rustup

View file

@ -5,37 +5,8 @@
namespace, namespace,
config, config,
... ...
}: let }: {
sshDir = "${config.home.homeDirectory}/.ssh";
in {
home.packages = with pkgs; [ home.packages = with pkgs; [
openssh openssh
]; ];
programs.ssh = {
enable = true;
extraConfig = ''
AddKeysToAgent yes
'';
matchBlocks = {
"github.com" = {
identityFile = "${sshDir}/id_ed25519";
identitiesOnly = true;
user = "git";
};
"gitlab.com" = {
identityFile = "${sshDir}/id_ed25519";
identitiesOnly = true;
user = "git";
};
"bitbucket.org" = {
identityFile = "${sshDir}/id_ed25519";
identitiesOnly = true;
user = "git";
};
};
};
} }

View file

@ -32,6 +32,11 @@ in {
options = "--delete-older-than 3d"; options = "--delete-older-than 3d";
}; };
extraOptions = ''
extra-substituters = https://devenv.cachix.org
extra-trusted-public-keys = devenv.cachix.org-1:w1cLUi8dv3hnoSPGAuibQv+f9TZLr6cv/Hm9XgU50cw=
'';
package = mkIf cfg.use-lix pkgs.lix; # Enable LIX package = mkIf cfg.use-lix pkgs.lix; # Enable LIX
}; };
}; };