nixos-config/user/vscode/default.nix

20 lines
859 B
Nix
Raw Normal View History

{ pkgs, config, ... }:
{
2023-08-16 11:09:25 -03:00
programs.vscode = {
enable = true;
2024-06-13 11:50:32 -03:00
package = pkgs.vscodium-fhs;
2023-08-16 11:09:25 -03:00
extensions = with pkgs.vscode-extensions; [
jnoortheen.nix-ide
github.github-vscode-theme
rust-lang.rust-analyzer
];
};
home.file = {
"${config.home.homeDirectory}/.config/VSCodium/User/keybindings.json".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/projects/nixos-config/user/vscode/keybindings.json";
"${config.home.homeDirectory}/.config/VSCodium/User/settings.json".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/projects/nixos-config/user/vscode/settings.json";
"${config.home.homeDirectory}/.config/VSCodium/product.json".source = config.lib.file.mkOutOfStoreSymlink "${config.home.homeDirectory}/projects/nixos-config/user/vscode/product.json";
};
}