Initial commit
This commit is contained in:
34
modules/development/home/vscode.nix
Normal file
34
modules/development/home/vscode.nix
Normal file
@@ -0,0 +1,34 @@
|
||||
{ osConfig, lib, pkgs, ... }:
|
||||
let
|
||||
hasGui = osConfig.services.dbus.implementation == "dbus";
|
||||
baseConfig = {};
|
||||
exts = pkgs.vscode-extensions;
|
||||
in
|
||||
{
|
||||
config = lib.mkIf hasGui
|
||||
{
|
||||
programs.vscode = {
|
||||
enable = true;
|
||||
profiles.default = {
|
||||
extensions = with exts; [
|
||||
bbenoist.nix
|
||||
svelte.svelte-vscode
|
||||
ms-python.python
|
||||
ms-python.debugpy
|
||||
ms-python.pylint
|
||||
golang.go
|
||||
github.vscode-github-actions
|
||||
ms-vsliveshare.vsliveshare
|
||||
prettier.prettier-vscode
|
||||
sumneko.lua
|
||||
astro-build.astro-vscode
|
||||
ms-vscode.cpptools
|
||||
mesonbuild.mesonbuild
|
||||
skellock.just
|
||||
docker.docker
|
||||
redhat.vscode-yaml
|
||||
];
|
||||
};
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user