Add vibecoding VSCode profile

This commit is contained in:
Ghostfox
2026-04-01 15:04:14 +02:00
parent 63b75b2e8f
commit 6f3fe41452
7 changed files with 39 additions and 0 deletions

View File

@@ -11,6 +11,7 @@ in
enable = true;
profiles.default = {
extensions = with exts; [
mkhl.direnv
bbenoist.nix
svelte.svelte-vscode
ms-python.python

View File

@@ -8,6 +8,7 @@
anydesk
openboard
trilium-desktop
libreoffice-qt-fresh
];
virtualisation.virtualbox.host = {

1
modules/vibes/README.md Normal file
View File

@@ -0,0 +1 @@
This module adds a VSCode profile made for pure vibes

View File

@@ -0,0 +1,5 @@
{
home.sharedModules = [
./home
];
}

View File

@@ -0,0 +1,5 @@
{
imports = [
./vscode.nix
];
}

View File

@@ -0,0 +1,25 @@
{ osConfig, lib, pkgs, ... }:
let
hasGui = osConfig.services.dbus.implementation == "dbus";
baseConfig = {};
exts = pkgs.vscode-extensions;
in
{
config = lib.mkIf hasGui
{
programs.vscode.profiles.vibes = {
extensions = with exts; [
mkhl.direnv
bbenoist.nix
svelte.svelte-vscode
ms-python.python
ms-python.debugpy
ms-python.pylint
github.vscode-github-actions
prettier.prettier-vscode
docker.docker
redhat.vscode-yaml
];
};
};
}

View File

@@ -13,6 +13,7 @@
../../modules/gaming
../../modules/school
../../modules/server
../../modules/vibes
./hardware-configuration.nix
];