Compare commits
2 commits
57baa8ac77
...
f923ddf7c4
Author | SHA1 | Date | |
---|---|---|---|
f923ddf7c4 | |||
a770ede405 |
3 changed files with 73 additions and 64 deletions
65
home.nix
65
home.nix
|
@ -204,69 +204,6 @@
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
programs.vscode = {
|
|
||||||
enable = true;
|
|
||||||
enableUpdateCheck = false;
|
|
||||||
enableExtensionUpdateCheck = false;
|
|
||||||
mutableExtensionsDir = false;
|
|
||||||
extensions = with pkgs.vscode-extensions; [
|
|
||||||
asvetliakov.vscode-neovim
|
|
||||||
baccata.scaladex-search
|
|
||||||
davidanson.vscode-markdownlint
|
|
||||||
enkia.tokyo-night
|
|
||||||
github.copilot
|
|
||||||
github.copilot-chat
|
|
||||||
github.github-vscode-theme
|
|
||||||
github.vscode-github-actions
|
|
||||||
github.vscode-pull-request-github
|
|
||||||
humao.rest-client
|
|
||||||
jnoortheen.nix-ide
|
|
||||||
mechatroner.rainbow-csv
|
|
||||||
mkhl.direnv
|
|
||||||
ms-python.python
|
|
||||||
ms-python.vscode-pylance
|
|
||||||
ms-vscode.makefile-tools
|
|
||||||
ms-toolsai.jupyter
|
|
||||||
redhat.java
|
|
||||||
redhat.vscode-yaml
|
|
||||||
rust-lang.rust-analyzer
|
|
||||||
scalameta.metals
|
|
||||||
skyapps.fish-vscode
|
|
||||||
svsool.markdown-memo
|
|
||||||
timonwong.shellcheck
|
|
||||||
usernamehw.errorlens
|
|
||||||
visualstudioexptteam.vscodeintellicode
|
|
||||||
vscode-icons-team.vscode-icons
|
|
||||||
vscjava.vscode-java-pack
|
|
||||||
xyz.local-history
|
|
||||||
yzhang.markdown-all-in-one
|
|
||||||
];
|
|
||||||
userSettings = {
|
|
||||||
"editor.fontFamily" = "SF Mono";
|
|
||||||
"editor.fontSize" = 13;
|
|
||||||
"editor.copyWithSyntaxHighlighting" = true;
|
|
||||||
"extensions.experimental.affinity" = {
|
|
||||||
"asvetliakov.vscode-neovim" = 1;
|
|
||||||
};
|
|
||||||
"files.autoSave" = "afterDelay";
|
|
||||||
"git.autoSave" = "afterDelay";
|
|
||||||
"git.rebaseWhenSync" = true;
|
|
||||||
"github.gitProtocol" = "ssh";
|
|
||||||
"githubPullRequests.notifications" = "pullRequests";
|
|
||||||
"githubPullRequests.pullBranch" = "never";
|
|
||||||
"markdown.extension.preview.autoShowPreviewToSide" = true;
|
|
||||||
# Install paste image manually as not in nix ( https://marketplace.visualstudio.com/items?itemName=mushan.vscode-paste-image )
|
|
||||||
"pasteImage.insertPattern" = "![[\${imageFileName}]]";
|
|
||||||
"pasteImage.path" = "\${projectRoot}/Attachments";
|
|
||||||
"python.analysis.extraPaths" = [ "src" ];
|
|
||||||
"telemetry.telemetryLevel" = "off";
|
|
||||||
"window.openFoldersInNewWindow" = "on";
|
|
||||||
"workbench.colorTheme" = "Tokyo Night";
|
|
||||||
"workbench.iconTheme" = "vscode-icons";
|
|
||||||
"workbench.sideBar.location" = "right";
|
|
||||||
};
|
|
||||||
};
|
|
||||||
|
|
||||||
programs.fish = {
|
programs.fish = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
|
||||||
|
@ -349,6 +286,6 @@
|
||||||
# Neovim Configuration
|
# Neovim Configuration
|
||||||
xdg.configFile."nvim".source = builtins.fetchGit {
|
xdg.configFile."nvim".source = builtins.fetchGit {
|
||||||
url = "https://code.softinio.com/softinio/nvim-config";
|
url = "https://code.softinio.com/softinio/nvim-config";
|
||||||
rev = "11c5aecb3adc0195642ad35f89c04798f26a9076";
|
rev = "8d6d972b8eeab4122979adc2bd4bf6db36ce4426";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
@ -2,4 +2,5 @@
|
||||||
./git
|
./git
|
||||||
./tmux
|
./tmux
|
||||||
./wezterm
|
./wezterm
|
||||||
|
./vscode
|
||||||
]
|
]
|
||||||
|
|
71
programs/vscode/default.nix
Normal file
71
programs/vscode/default.nix
Normal file
|
@ -0,0 +1,71 @@
|
||||||
|
{ config, pkgs, ... }:
|
||||||
|
|
||||||
|
let
|
||||||
|
myExtensions = with pkgs.vscode-extensions; [
|
||||||
|
asvetliakov.vscode-neovim
|
||||||
|
baccata.scaladex-search
|
||||||
|
davidanson.vscode-markdownlint
|
||||||
|
enkia.tokyo-night
|
||||||
|
github.copilot
|
||||||
|
github.copilot-chat
|
||||||
|
github.github-vscode-theme
|
||||||
|
github.vscode-github-actions
|
||||||
|
github.vscode-pull-request-github
|
||||||
|
humao.rest-client
|
||||||
|
jnoortheen.nix-ide
|
||||||
|
mechatroner.rainbow-csv
|
||||||
|
mkhl.direnv
|
||||||
|
ms-python.python
|
||||||
|
ms-python.vscode-pylance
|
||||||
|
ms-vscode.makefile-tools
|
||||||
|
ms-toolsai.jupyter
|
||||||
|
redhat.java
|
||||||
|
redhat.vscode-yaml
|
||||||
|
rust-lang.rust-analyzer
|
||||||
|
scalameta.metals
|
||||||
|
skyapps.fish-vscode
|
||||||
|
svsool.markdown-memo
|
||||||
|
timonwong.shellcheck
|
||||||
|
usernamehw.errorlens
|
||||||
|
visualstudioexptteam.vscodeintellicode
|
||||||
|
vscode-icons-team.vscode-icons
|
||||||
|
vscjava.vscode-java-pack
|
||||||
|
xyz.local-history
|
||||||
|
yzhang.markdown-all-in-one
|
||||||
|
|
||||||
|
];
|
||||||
|
myUserSettings = {
|
||||||
|
"editor.fontFamily" = "SF Mono";
|
||||||
|
"editor.fontSize" = 13;
|
||||||
|
"editor.copyWithSyntaxHighlighting" = true;
|
||||||
|
"extensions.experimental.affinity" = {
|
||||||
|
"asvetliakov.vscode-neovim" = 1;
|
||||||
|
};
|
||||||
|
"files.autoSave" = "afterDelay";
|
||||||
|
"git.autoSave" = "afterDelay";
|
||||||
|
"git.rebaseWhenSync" = true;
|
||||||
|
"github.gitProtocol" = "ssh";
|
||||||
|
"githubPullRequests.notifications" = "pullRequests";
|
||||||
|
"githubPullRequests.pullBranch" = "never";
|
||||||
|
"markdown.extension.preview.autoShowPreviewToSide" = true;
|
||||||
|
# Install paste image manually as not in nix ( https://marketplace.visualstudio.com/items?itemName=mushan.vscode-paste-image )
|
||||||
|
"pasteImage.insertPattern" = "![[\${imageFileName}]]";
|
||||||
|
"pasteImage.path" = "\${projectRoot}/Attachments";
|
||||||
|
"python.analysis.extraPaths" = [ "src" ];
|
||||||
|
"telemetry.telemetryLevel" = "off";
|
||||||
|
"window.openFoldersInNewWindow" = "on";
|
||||||
|
"workbench.colorTheme" = "Tokyo Night";
|
||||||
|
"workbench.iconTheme" = "vscode-icons";
|
||||||
|
"workbench.sideBar.location" = "right";
|
||||||
|
};
|
||||||
|
in
|
||||||
|
{
|
||||||
|
programs.vscode = {
|
||||||
|
enable = true;
|
||||||
|
enableUpdateCheck = false;
|
||||||
|
enableExtensionUpdateCheck = false;
|
||||||
|
mutableExtensionsDir = false;
|
||||||
|
extensions = myExtensions;
|
||||||
|
userSettings = myUserSettings;
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue