Add javascript shells
Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
@@ -80,7 +80,9 @@
|
|||||||
in
|
in
|
||||||
{
|
{
|
||||||
devShells = {
|
devShells = {
|
||||||
|
bun = import ./hosts/common/system/shells/bun { inherit pkgs; };
|
||||||
nix = import ./hosts/common/system/shells/nix { inherit pkgs; };
|
nix = import ./hosts/common/system/shells/nix { inherit pkgs; };
|
||||||
|
nodejs = import ./hosts/common/system/shells/nodejs { inherit pkgs; };
|
||||||
python = import ./hosts/common/system/shells/python { inherit pkgs; };
|
python = import ./hosts/common/system/shells/python { inherit pkgs; };
|
||||||
};
|
};
|
||||||
|
|
||||||
|
6
hosts/common/system/shells/bun/default.nix
Normal file
6
hosts/common/system/shells/bun/default.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
pkgs.mkShell {
|
||||||
|
packages = with pkgs; [
|
||||||
|
bun
|
||||||
|
];
|
||||||
|
}
|
@@ -5,8 +5,4 @@ pkgs.mkShell {
|
|||||||
nil
|
nil
|
||||||
nixpkgs-fmt
|
nixpkgs-fmt
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
|
||||||
exec $SHELL
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
6
hosts/common/system/shells/nodejs/default.nix
Normal file
6
hosts/common/system/shells/nodejs/default.nix
Normal file
@@ -0,0 +1,6 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
pkgs.mkShell {
|
||||||
|
packages = with pkgs; [
|
||||||
|
nodejs
|
||||||
|
];
|
||||||
|
}
|
@@ -11,8 +11,4 @@ pkgs.mkShell {
|
|||||||
]
|
]
|
||||||
))
|
))
|
||||||
];
|
];
|
||||||
|
|
||||||
shellHook = ''
|
|
||||||
exec $SHELL
|
|
||||||
'';
|
|
||||||
}
|
}
|
||||||
|
@@ -97,8 +97,8 @@ in
|
|||||||
fi
|
fi
|
||||||
|
|
||||||
$DCONF_DBUS_RUN_SESSION bash -c "
|
$DCONF_DBUS_RUN_SESSION bash -c "
|
||||||
dconf write /org/gnome/desktop/interface/gtk-theme "'$GTK_THEME'"
|
dconf write /org/gnome/desktop/interface/gtk-theme \"'$GTK_THEME'\"
|
||||||
dconf write /org/gnome/desktop/interface/color-scheme "'prefer-$MODE'"
|
dconf write /org/gnome/desktop/interface/color-scheme \"'prefer-$MODE'\"
|
||||||
"
|
"
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
|
@@ -108,6 +108,7 @@ in
|
|||||||
imports = [
|
imports = [
|
||||||
./langs/nix
|
./langs/nix
|
||||||
./langs/python
|
./langs/python
|
||||||
|
./langs/svelte
|
||||||
];
|
];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
@@ -0,0 +1,15 @@
|
|||||||
|
{ pkgs, ... }:
|
||||||
|
{
|
||||||
|
programs.vscode = {
|
||||||
|
userSettings = {
|
||||||
|
"svelte.enable-ts-plugin" = true;
|
||||||
|
};
|
||||||
|
|
||||||
|
extensions =
|
||||||
|
with pkgs;
|
||||||
|
with vscode-extensions;
|
||||||
|
[
|
||||||
|
svelte.svelte-vscode
|
||||||
|
];
|
||||||
|
};
|
||||||
|
}
|
Reference in New Issue
Block a user