blob: 23bf15d1fae1401b4888ec8728c9db3c2781c400 (
plain) (
tree)
|
|
{
config,
options,
lib,
pkgs,
...
}: let
codeConf = config.modules.desktop.apps.editors.vscode;
configDir = config.nixosConfig.configDir;
in {
options.modules.desktop.apps.editors.vscode = {
enable = lib.mkOption {
type = lib.types.bool;
default = false;
};
};
config = lib.mkIf (codeConf.enable) {
home.manager.programs.vscode = {
enable = true;
extensions = with pkgs.vscode-extensions; [
catppuccin.catppuccin-vsc catppuccin.catppuccin-vsc-icons
ms-dotnettools.csharp
];
};
};
}
|