aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMiran Bastaja <miran.bastaja04@gmail.com>2024-09-07 18:24:17 +0200
committerMiran Bastaja <miran.bastaja04@gmail.com>2024-09-07 18:24:17 +0200
commit0a1c6882ea05a5eaf96567734f102d4fbd3e85d5 (patch)
tree65a8c9a9203dafc75e3f63dfb0d6bc05331f8a57
parentb75350e93e92beedfcd1b632f9e943f75136b1c6 (diff)
Remove most developer tooling from global config
It should be stored in per-project flake devshells.
-rw-r--r--share/cfg/helix.nix66
-rw-r--r--share/hm-modules/hyprdesktop.nix11
2 files changed, 1 insertions, 76 deletions
diff --git a/share/cfg/helix.nix b/share/cfg/helix.nix
index 7d3162e..6d8d556 100644
--- a/share/cfg/helix.nix
+++ b/share/cfg/helix.nix
@@ -1,33 +1,14 @@
{
- # inputs,
pkgs,
- # config,
- # lib,
...
}:
{
programs.helix = {
defaultEditor = true;
extraPackages = with pkgs; [
- rust-analyzer
- rustfmt
nil
nixfmt-rfc-style
- python311Packages.python-lsp-server
- clang-tools
- black
emmet-ls
- vscode-langservers-extracted
- nodePackages.bash-language-server
- cmake-language-server
- cmake-format
- # inputs.snippets-ls
- taplo
- typst-lsp
- gopls
- # golangci-lint-langserver
- delve
- gleam
];
settings = {
@@ -73,18 +54,6 @@
typescript.tsdk = "${pkgs.typescript}/lib/node_modules/typescript/lib";
environment = "node";
};
- # language-server.snippets-html = {
- # command = "snippets-ls";
- # args = [
- # "-config"
- # config.xdg.configFile."helix/snippets/html.json".target
- # ];
- # };
- };
- language-server.deno-lsp = {
- command = "${pkgs.deno}/bin/deno";
- args = [ "lsp" ];
- config.deno.enable = true;
};
language = [
@@ -133,17 +102,6 @@
};
}
{
- name = "typescript";
- shebangs = [ "deno" ];
- roots = [
- "deno.json"
- "deno.jsonc"
- "package.json"
- ];
- auto-format = true;
- language-servers = [ "deno-lsp" ];
- }
- {
name = "svelte";
language-servers = [
"svelteserver"
@@ -174,28 +132,4 @@
"*.webp"
];
}; # end of programs.helix
-
- # xdg.configFile = {
- # "helix/snippets/html.json" = mkIf cfg.enable {
- # source = jsonFormat.generate "html-snippets" {
- # "html doc" = {
- # isFileTemplate = true;
- # prefix = [ "!" ];
- # body = [
- # "<!DOCTYPE html>"
- # "<html>"
- # "<head>"
- # ''\t<meta charset=\"UTF-8\" />''
- # ''\t<title>$\{1:title}</title>''
- # "</head>"
- # "<body>"
- # ''\t$0''
- # "</body>"
- # "</html>"
- # ];
- # description = "HTML Document";
- # };
- # };
- # };
- # };
}
diff --git a/share/hm-modules/hyprdesktop.nix b/share/hm-modules/hyprdesktop.nix
index a20266b..2b1c2fb 100644
--- a/share/hm-modules/hyprdesktop.nix
+++ b/share/hm-modules/hyprdesktop.nix
@@ -71,7 +71,6 @@ in
grim # screenshot utility for wayland
slurp # region selection UI for wayland
wl-clipboard # clipboard utility
- nushell # next-generation shell
sl
jaq # json query tool
mullvad
@@ -82,22 +81,14 @@ in
gnutar
unrar-wrapper
gzip
- fzf
# other random CLI's
+ fzf
wget
xdg-utils
# Developer stuff
git
gitui
- clang
- clangStdenv
- tinycc
- gnumake
- cmake
- go
- python3
- (rust-bin.selectLatestNightlyWith (toolchain: toolchain.default))
scheme-manpages
guile