Skip to content

Commit 8a53d0f

Browse files
author
longendu
committed
1. add dev.nix; 2. bump up the version of code-server
1 parent 480a94b commit 8a53d0f

File tree

3 files changed

+35
-1
lines changed

3 files changed

+35
-1
lines changed

.idx/dev.nix

Lines changed: 30 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,30 @@
1+
{pkgs, ...}: {
2+
channel = "stable-24.11";
3+
packages = with pkgs; [
4+
bash-completion
5+
gitui
6+
neovim
7+
ripgrep
8+
rm-improved
9+
bat
10+
];
11+
env = {};
12+
idx = {
13+
# check extensions on https://open-vsx.org/
14+
extensions = [
15+
"asvetliakov.vscode-neovim"
16+
];
17+
workspace = {
18+
#onCreate = {
19+
#}
20+
onStart = {
21+
icon = ''
22+
curl -sSL https://raw.githubusercontent.com/legendu-net/icon/main/install_icon.sh | bash -s -- \
23+
-d ~/.local/bin
24+
'';
25+
};
26+
};
27+
# Enable previews and customize configuration
28+
previews = {};
29+
};
30+
}

.vscode/settings.json

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
{
2+
"IDX.aI.enableInlineCompletion": true,
3+
"IDX.aI.enableCodebaseIndexing": true
4+
}

Dockerfile

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ RUN pip3 install -U --break-system-packages \
88
&& /scripts/sys/purge_cache.sh
99
# && code-server --install-extension vscjava.vscode-java-pack \
1010
RUN apt-get update && apt-get install -y valgrind \
11-
&& icon from_github -r cdr/code-server -v ">=3.8.0,<4.92.0" -k amd64.deb -o /tmp/code.deb \
11+
&& icon from_github -r cdr/code-server -v ">=3.8.0,<4.99.0" -k amd64.deb -o /tmp/code.deb \
1212
&& dpkg -i /tmp/code.deb \
1313
#&& code-server --install-extension [email protected] \
1414
&& code-server --install-extension [email protected] \

0 commit comments

Comments
 (0)