add tablet modes for firefox and gnome

This commit is contained in:
2025-10-10 23:18:42 +01:00
parent 6c69dab6fa
commit 950fe60383
9 changed files with 136 additions and 110 deletions

View File

@@ -4,7 +4,7 @@ with lib;
{
options.helix = {
fullInstall = mkOption {
type = lib.types.nullOr lib.types.bool;
type = types.bool;
default = false;
};
};
@@ -17,43 +17,44 @@ with lib;
settings = {
theme = "dracula";
};
extraPackages = with pkgs;[ gcc ];
extraPackages = with pkgs;[
gcc
] ++ (optionals config.helix.fullInstall [
#nix
nixd
nixpkgs-fmt
#dotnet
omnisharp-roslyn
netcoredbg
# rust
rustfmt
clippy
rust-analyzer
lldb
#python
ruff
# shell
shfmt
bash-language-server
fish-lsp
# misc
hyprls
marksman
# web
superhtml
biome
] ++ (with nodePackages;[
vscode-langservers-extracted
typescript-language-server
]));
}
(mkIf config.helix.fullInstall {
extraPackages = with pkgs;[
#nix
nixd
nixpkgs-fmt
#dotnet
omnisharp-roslyn
netcoredbg
# rust
rustfmt
clippy
rust-analyzer
lldb
#python
ruff
# shell
shfmt
bash-language-server
fish-lsp
# misc
hyprls
marksman
# web
superhtml
biome
] ++ (with nodePackages;[
vscode-langservers-extracted
typescript-language-server
]);
languages = {
language = [
{