Compare commits

..

2 commits

Author SHA1 Message Date
8b54a7251c
Neovim, add typescript support 2025-07-10 13:34:11 -07:00
633205fd3a
Ssh, change default port to 22
To preserve current connections Onizuka's port was manually reverted to
the old 922 default, with the intention to follow that
2025-07-10 13:33:53 -07:00
4 changed files with 16 additions and 3 deletions

View file

@ -8,6 +8,7 @@
go.enable = lib.mkEnableOption "Enables go support";
nix.enable = lib.mkEnableOption "Enables nix support";
rust.enable = lib.mkEnableOption "Enables rust support";
typescript.enable = lib.mkEnableOption "Enables typescript support";
};
themes = {
catppuccin.enable = lib.mkEnableOption "Enables catppuccin theme";
@ -118,6 +119,16 @@
go-nvim
]);
typescript-pkg = lopts cfgl.typescript.enable (with pkgs.vimPlugins; [
{
plugin = typescript-tools-nvim;
type = "lua";
config = ''
require("typescript-tools").setup {}
'';
}
]);
catppuccin-pkg = lopts cfgt.catppuccin.enable (with pkgs.vimPlugins; [
{
plugin = catppuccin-nvim;
@ -151,8 +162,8 @@
'';
}
]);
in comments ++ fugitive ++ luasnip-pkg ++ lualine ++
nix-pkg ++ rust-pkg ++ go-pkg ++ wiki ++ catppuccin-pkg;
in comments ++ fugitive ++ luasnip-pkg ++ lualine ++ nix-pkg ++ rust-pkg
++ go-pkg ++ wiki ++ catppuccin-pkg ++ typescript-pkg;
};
};
}

View file

@ -25,6 +25,7 @@ in {
p.tree-sitter-go
p.tree-sitter-nix
p.tree-sitter-rust
p.tree-sitter-typescript
];
in with pkgs.vimPlugins; [
{

View file

@ -15,7 +15,7 @@
sshd = {
enable = true;
port = 922;
}
};
tailscale.enable = true;
tuigreet.enable = true;

View file

@ -58,6 +58,7 @@
c.enable = true;
nix.enable = true;
rust.enable = true;
typescript.enable = true;
};
neovim.plugins = {
comments.enable = true;