1
1
Fork 0

vscode: guard config instead of hm

This commit is contained in:
Myned 2025-04-02 14:29:10 -05:00
parent 1d9e729d46
commit 5174fc507d
Signed by: myned
GPG key ID: C7224454F7881A34

View file

@ -13,7 +13,7 @@ in {
enable = mkOption {default = false;};
};
config = {
config = mkIf cfg.enable {
# https://github.com/nix-community/nix-vscode-extensions
nixpkgs.overlays = [inputs.nix-vscode-extensions.overlays.default];
@ -36,7 +36,7 @@ in {
];
};
home-manager.sharedModules = mkIf cfg.enable [
home-manager.sharedModules = [
{
# https://wiki.nixos.org/wiki/VSCodium
# https://github.com/VSCodium/vscodium