Compare commits
No commits in common. "64e29f793fa905a82bce9a2046de98c0680d65c1" and "50cc74833025aa901274fd24d018f21e16f97dd6" have entirely different histories.
64e29f793f
...
50cc748330
4 changed files with 0 additions and 32 deletions
|
|
@ -41,7 +41,6 @@ in {
|
||||||
openrgb.enable = hardware.openRGB.enable;
|
openrgb.enable = hardware.openRGB.enable;
|
||||||
via.enable = hardware.viaKeyboard.enable;
|
via.enable = hardware.viaKeyboard.enable;
|
||||||
claude-code.enable = osConfig.host.ai.enable;
|
claude-code.enable = osConfig.host.ai.enable;
|
||||||
opencode.enable = osConfig.host.ai.enable;
|
|
||||||
davinci-resolve.enable = hardware.graphicsAcceleration.enable;
|
davinci-resolve.enable = hardware.graphicsAcceleration.enable;
|
||||||
mfoc.enable = true;
|
mfoc.enable = true;
|
||||||
})
|
})
|
||||||
|
|
|
||||||
|
|
@ -58,9 +58,6 @@ in {
|
||||||
|
|
||||||
nearley.enable = true;
|
nearley.enable = true;
|
||||||
|
|
||||||
# graphql
|
|
||||||
graphql.enable = true;
|
|
||||||
|
|
||||||
# astro development
|
# astro development
|
||||||
vscodeMdx.enable = true;
|
vscodeMdx.enable = true;
|
||||||
astroVscode.enable = true;
|
astroVscode.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,5 @@
|
||||||
./direnv.nix
|
./direnv.nix
|
||||||
./conventionalCommits.nix
|
./conventionalCommits.nix
|
||||||
./openDyslexicFont.nix
|
./openDyslexicFont.nix
|
||||||
./graphql.nix
|
|
||||||
];
|
];
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -1,27 +0,0 @@
|
||||||
{
|
|
||||||
lib,
|
|
||||||
pkgs,
|
|
||||||
config,
|
|
||||||
...
|
|
||||||
}: let
|
|
||||||
pkgsRepositories = pkgs.nix-vscode-extensions.forVSCodeVersion config.programs.vscode.package.version;
|
|
||||||
pkgsRepository = pkgsRepositories.open-vsx;
|
|
||||||
in {
|
|
||||||
options.programs.vscode.profiles = lib.mkOption {
|
|
||||||
type = lib.types.attrsOf (lib.types.submodule ({config, ...}: {
|
|
||||||
options = {
|
|
||||||
extraExtensions.graphql = {
|
|
||||||
enable = lib.mkEnableOption "should the graphql highlighting extension for vscode be enabled";
|
|
||||||
extension = lib.mkPackageOption pkgsRepository "vscode-graphql" {
|
|
||||||
default = ["graphql" "vscode-graphql-syntax"];
|
|
||||||
};
|
|
||||||
};
|
|
||||||
};
|
|
||||||
config = lib.mkIf config.extraExtensions.graphql.enable {
|
|
||||||
extensions = [
|
|
||||||
config.extraExtensions.graphql.extension
|
|
||||||
];
|
|
||||||
};
|
|
||||||
}));
|
|
||||||
};
|
|
||||||
}
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue