vscode: do not use fhs env
Signed-off-by: Myned <dev@bjork.tech>
This commit is contained in:
parent
95603f4d35
commit
066e5d203a
1 changed files with 120 additions and 119 deletions
|
@ -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 {
|
|||
# '';
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
|
|
Loading…
Add table
Reference in a new issue