Added vscode w/plugins added variable to enable
This commit is contained in:
parent
ec75be7668
commit
24044dc5fe
6 changed files with 35 additions and 5 deletions
|
|
@ -4,6 +4,9 @@
|
|||
|
||||
** Updated: June 24th, 2025 **
|
||||
|
||||
- Added `vscode.nix` with plugins for NIX, BASH, JSON, and VIM keybinds
|
||||
- Added variable 'enableVscode' in the `hosts/default/variables.nix` to turn on
|
||||
or off
|
||||
- Updated flake
|
||||
- Added control variables for `alacritty` `ghostty` `tmux` `wezterm` in
|
||||
`variables.nix`
|
||||
|
|
|
|||
|
|
@ -10,10 +10,11 @@
|
|||
displayManager = "sddm";
|
||||
|
||||
# Emable/disable bundled applications
|
||||
tmuxEnable = true;
|
||||
alacrittyEnable = true;
|
||||
weztermEnable = true;
|
||||
ghosttyEnable = true;
|
||||
tmuxEnable = false;
|
||||
alacrittyEnable = false;
|
||||
weztermEnable = false;
|
||||
ghosttyEnable = false;
|
||||
vscodeEnable = false;
|
||||
|
||||
# P10K or starship prompt (not enabled yet)
|
||||
userPrompt = "starship";
|
||||
|
|
|
|||
|
|
@ -14,7 +14,6 @@
|
|||
ncdu
|
||||
gdu
|
||||
ugrep
|
||||
vscode-fhs
|
||||
waypaper
|
||||
dysk
|
||||
];
|
||||
|
|
|
|||
|
|
@ -14,6 +14,7 @@
|
|||
alacrittyEnable = true;
|
||||
weztermEnable = true;
|
||||
ghosttyEnable = true;
|
||||
vscodeEnable = true;
|
||||
|
||||
# P10K or starship prompt
|
||||
userPrompt = "starship";
|
||||
|
|
|
|||
|
|
@ -6,6 +6,7 @@
|
|||
tmuxEnable
|
||||
waybarChoice
|
||||
weztermEnable
|
||||
vscodeEnable
|
||||
;
|
||||
in {
|
||||
imports =
|
||||
|
|
@ -44,6 +45,11 @@ in {
|
|||
./zoxide.nix
|
||||
./zsh
|
||||
]
|
||||
++ (
|
||||
if vscodeEnable
|
||||
then [./vscode.nix]
|
||||
else []
|
||||
)
|
||||
++ (
|
||||
if weztermEnable
|
||||
then [./wezterm.nix]
|
||||
|
|
|
|||
20
modules/home/vscode.nix
Normal file
20
modules/home/vscode.nix
Normal file
|
|
@ -0,0 +1,20 @@
|
|||
{pkgs, ...}: {
|
||||
nixpkgs.config.allowUnfree = true;
|
||||
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
profiles = {
|
||||
default = {
|
||||
extensions = with pkgs.vscode-extensions; [
|
||||
bbenoist.nix
|
||||
jeff-hykin.better-nix-syntax
|
||||
ms-vscode.cpptools-extension-pack
|
||||
vscodevim.vim # Vim emulation
|
||||
mads-hartmann.bash-ide-vscode
|
||||
tamasfe.even-better-toml
|
||||
zainchen.json
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue