Compare commits
2 commits
4f1c8d4e7f
...
8b54a7251c
| Author | SHA1 | Date | |
|---|---|---|---|
| 8b54a7251c | |||
| 633205fd3a |
5 changed files with 20 additions and 4 deletions
|
|
@ -8,6 +8,7 @@
|
||||||
go.enable = lib.mkEnableOption "Enables go support";
|
go.enable = lib.mkEnableOption "Enables go support";
|
||||||
nix.enable = lib.mkEnableOption "Enables nix support";
|
nix.enable = lib.mkEnableOption "Enables nix support";
|
||||||
rust.enable = lib.mkEnableOption "Enables rust support";
|
rust.enable = lib.mkEnableOption "Enables rust support";
|
||||||
|
typescript.enable = lib.mkEnableOption "Enables typescript support";
|
||||||
};
|
};
|
||||||
themes = {
|
themes = {
|
||||||
catppuccin.enable = lib.mkEnableOption "Enables catppuccin theme";
|
catppuccin.enable = lib.mkEnableOption "Enables catppuccin theme";
|
||||||
|
|
@ -118,6 +119,16 @@
|
||||||
go-nvim
|
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; [
|
catppuccin-pkg = lopts cfgt.catppuccin.enable (with pkgs.vimPlugins; [
|
||||||
{
|
{
|
||||||
plugin = catppuccin-nvim;
|
plugin = catppuccin-nvim;
|
||||||
|
|
@ -151,8 +162,8 @@
|
||||||
'';
|
'';
|
||||||
}
|
}
|
||||||
]);
|
]);
|
||||||
in comments ++ fugitive ++ luasnip-pkg ++ lualine ++
|
in comments ++ fugitive ++ luasnip-pkg ++ lualine ++ nix-pkg ++ rust-pkg
|
||||||
nix-pkg ++ rust-pkg ++ go-pkg ++ wiki ++ catppuccin-pkg;
|
++ go-pkg ++ wiki ++ catppuccin-pkg ++ typescript-pkg;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -25,6 +25,7 @@ in {
|
||||||
p.tree-sitter-go
|
p.tree-sitter-go
|
||||||
p.tree-sitter-nix
|
p.tree-sitter-nix
|
||||||
p.tree-sitter-rust
|
p.tree-sitter-rust
|
||||||
|
p.tree-sitter-typescript
|
||||||
];
|
];
|
||||||
in with pkgs.vimPlugins; [
|
in with pkgs.vimPlugins; [
|
||||||
{
|
{
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,10 @@
|
||||||
system.timezone = "America/Los_Angeles";
|
system.timezone = "America/Los_Angeles";
|
||||||
system.users.bigWheels = [ "pan" ];
|
system.users.bigWheels = [ "pan" ];
|
||||||
|
|
||||||
sshd.enable = true;
|
sshd = {
|
||||||
|
enable = true;
|
||||||
|
port = 922;
|
||||||
|
};
|
||||||
tailscale.enable = true;
|
tailscale.enable = true;
|
||||||
|
|
||||||
tuigreet.enable = true;
|
tuigreet.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -58,6 +58,7 @@
|
||||||
c.enable = true;
|
c.enable = true;
|
||||||
nix.enable = true;
|
nix.enable = true;
|
||||||
rust.enable = true;
|
rust.enable = true;
|
||||||
|
typescript.enable = true;
|
||||||
};
|
};
|
||||||
neovim.plugins = {
|
neovim.plugins = {
|
||||||
comments.enable = true;
|
comments.enable = true;
|
||||||
|
|
|
||||||
|
|
@ -4,7 +4,7 @@
|
||||||
options.sshd = {
|
options.sshd = {
|
||||||
enable = lib.mkEnableOption "Enables ssh daemon";
|
enable = lib.mkEnableOption "Enables ssh daemon";
|
||||||
port = lib.mkOption {
|
port = lib.mkOption {
|
||||||
default = 922;
|
default = 22;
|
||||||
type = lib.types.port;
|
type = lib.types.port;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue