This commit is contained in:
2024-12-29 22:04:44 +01:00
parent 6ae6c5e0e5
commit 12ef36af33
5 changed files with 254 additions and 2 deletions

View File

@@ -31,6 +31,9 @@ in
hostBridge = "server";
hostAddress = "${networkPrefix}.97.1";
localAddress = "${networkPrefix}.97.21/24";
extraFlags = [
"--capability=CAP_NET_ADMIN"
];
bindMounts = {
"/var/lib/acme/snapcast/" = {
hostPath = "${config.security.acme.certs.${domain}.directory}";

View File

@@ -5,8 +5,8 @@ self: super: {
version = "1.0.0";
src = super.fetchgit {
url = "https://git.cloonar.com/Cloonar/chatgpt.vim.git";
rev = "a354ff080afc5411967a98d6af1c714f26c1a2e5";
sha256 = "sha256-k90qf6iL8EjAAd97uXSMDmJYIuwzXxiTcZPw7CTYH7A=";
rev = "162ab2d82054897ac0d371d7047811abcd510ab5";
sha256 = "sha256-0BvVCGXO4GAUumv36+/9/S8pGMKCl/V3rxEKeiKW5xo=";
};
};
};

View File

@@ -3,6 +3,7 @@
environment.variables = { EDITOR = "vim"; };
nixpkgs.overlays = [
(import ./chatgpt.nix)
(import ./gitea.nix)
];
environment.systemPackages = with pkgs; [
@@ -25,6 +26,7 @@
bufferline-nvim
catppuccin-nvim
chatgpt-nvim
gitea-nvim
cmp-buffer
cmp-nvim-lsp
cmp-path
@@ -53,6 +55,7 @@
nvim-treesitter.withAllGrammars
nvim-treesitter-parsers.http
# (nvim-treesitter.withPlugins (_: pkgs.tree-sitter.allGrammars))
octo-nvim
plenary-nvim
project-nvim
rainbow-delimiters-nvim

View File

@@ -0,0 +1,13 @@
self: super: {
vimPlugins = super.vimPlugins // {
gitea-nvim = super.vimUtils.buildVimPlugin {
pname = "gitea-nvim";
version = "1.0.0";
src = super.fetchgit {
url = "https://git.cloonar.com/Cloonar/gitea.nvim.git";
rev = "4927f0b2ec9b5c489bbffae4e58d72c0ad047590";
sha256 = "sha256-8C8tUzOP6oy+KxyDthdYrmfoppfz+BSXrrVpVwi5X58=";
};
};
};
}