Refactor vscode language handling

Signed-off-by: Nikolaos Karaolidis <nick@karaolidis.com>
This commit is contained in:
2025-02-13 10:21:37 +00:00
parent 05e04268da
commit 97a042adcd
22 changed files with 235 additions and 50 deletions

View File

@@ -0,0 +1,19 @@
{
user ? throw "user argument is required",
home ? throw "home argument is required",
}:
{ ... }:
{
home-manager.users.${user}.programs.vscode.languages = {
c.enable = true;
go.enable = true;
java.enable = true;
lua.enable = true;
markdown.enable = true;
nix.enable = true;
python.enable = true;
rest.enable = true;
typescript.enable = true;
yaml.enable = true;
};
}