1
1
Fork 0

vscode: do not use fhs env

Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
Myned 2025-02-04 16:45:32 -06:00
parent 95603f4d35
commit 066e5d203a
Signed by: Myned
GPG key ID: C7224454F7881A34

View file

@ -10,24 +10,24 @@ with lib; let
in {
options.custom.programs.vscode.enable = mkOption {default = false;};
config.home-manager.users.${config.custom.username} = mkIf cfg.enable {
config = {
# Extension dependencies
environment.systemPackages = with pkgs; [
alejandra # nix-ide
blueprint-compiler # blueprint-gtk
nixd # nix-ide
powershell # powershell
shfmt # shell-format
];
home-manager.users.${config.custom.username} = mkIf cfg.enable {
# https://wiki.nixos.org/wiki/VSCodium
# https://github.com/VSCodium/vscodium
#!! Configuration is imperative
programs.vscode = {
enable = true;
mutableExtensionsDir = false;
# Extension dependencies
# https://wiki.nixos.org/wiki/Visual_Studio_Code#Use_VS_Code_extensions_without_additional_configuration
package = pkgs.vscodium.fhsWithPackages (ps:
with ps; [
alejandra # nix-ide
blueprint-compiler # blueprint-gtk
nixd # nix-ide
powershell # powershell
shfmt # shell-format
]);
package = pkgs.vscodium;
# https://github.com/nix-community/nix-vscode-extensions
#?? nixos-rebuild repl > inputs.nix-vscode-extensions.extensions.${pkgs.system}.*
@ -138,4 +138,5 @@ in {
# '';
};
};
};
}