diff --git a/flake.lock b/flake.lock index 398b982f..83306dbe 100644 --- a/flake.lock +++ b/flake.lock @@ -360,7 +360,7 @@ }, "devshell_2": { "inputs": { - "flake-utils": "flake-utils_10", + "flake-utils": "flake-utils_13", "nixpkgs": [ "nixvim", "nixpkgs" @@ -562,11 +562,11 @@ "flake-compat_7": { "flake": false, "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "lastModified": 1641205782, + "narHash": "sha256-4jY7RCWUoZ9cKD8co0/4tFARpWB+57+r1bLLvXNJliY=", "owner": "edolstra", "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "rev": "b7547d3eed6f32d06102ead8991ec52ab0a4f1a7", "type": "github" }, "original": { @@ -578,11 +578,11 @@ "flake-compat_8": { "flake": false, "locked": { - "lastModified": 1696426674, - "narHash": "sha256-kvjfFW7WAETZlt09AgDn1MrtKzP7t90Vf7vypd3OL1U=", + "lastModified": 1641205782, + "narHash": "sha256-4jY7RCWUoZ9cKD8co0/4tFARpWB+57+r1bLLvXNJliY=", "owner": "edolstra", "repo": "flake-compat", - "rev": "0f9255e01c2351cc7d116c072cb317785dd33b33", + "rev": "b7547d3eed6f32d06102ead8991ec52ab0a4f1a7", "type": "github" }, "original": { @@ -626,27 +626,6 @@ "type": "github" } }, - "flake-parts_10": { - "inputs": { - "nixpkgs-lib": [ - "nixvim", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1715865404, - "narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "flake-parts", - "type": "github" - } - }, "flake-parts_2": { "inputs": { "nixpkgs-lib": "nixpkgs-lib" @@ -777,7 +756,7 @@ "flake-parts_8": { "inputs": { "nixpkgs-lib": [ - "neovim-nightly-overlay", + "nixvim", "nixpkgs" ] }, @@ -795,27 +774,6 @@ "type": "github" } }, - "flake-parts_9": { - "inputs": { - "nixpkgs-lib": [ - "neovim-nightly-overlay", - "hercules-ci-effects", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1712014858, - "narHash": "sha256-sB4SWl2lX95bExY2gMFG5HIzvva5AVMJd4Igm+GpZNw=", - "owner": "hercules-ci", - "repo": "flake-parts", - "rev": "9126214d0a59633752a136528f5f3b9aa8565b7d", - "type": "github" - }, - "original": { - "id": "flake-parts", - "type": "indirect" - } - }, "flake-root": { "locked": { "lastModified": 1713493429, @@ -866,43 +824,7 @@ }, "flake-utils_10": { "inputs": { - "systems": "systems_13" - }, - "locked": { - "lastModified": 1701680307, - "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_11": { - "inputs": { - "systems": "systems_14" - }, - "locked": { - "lastModified": 1705309234, - "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", - "owner": "numtide", - "repo": "flake-utils", - "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", - "type": "github" - }, - "original": { - "owner": "numtide", - "repo": "flake-utils", - "type": "github" - } - }, - "flake-utils_12": { - "inputs": { - "systems": "systems_15" + "systems": "systems_12" }, "locked": { "lastModified": 1710146030, @@ -918,7 +840,73 @@ "type": "github" } }, + "flake-utils_11": { + "locked": { + "lastModified": 1644229661, + "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_12": { + "locked": { + "lastModified": 1644229661, + "narHash": "sha256-1YdnJAsNy69bpcjuoKdOYQX0YxZBiCYZo4Twxerqv7k=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "3cecb5b042f7f209c56ffd8371b2711a290ec797", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "flake-utils_13": { + "inputs": { + "systems": "systems_14" + }, + "locked": { + "lastModified": 1701680307, + "narHash": "sha256-kAuep2h5ajznlPMD9rnQyffWG8EM/C73lejGofXvdM8=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "4022d587cbbfd70fe950c1e2083a02621806a725", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_14": { + "inputs": { + "systems": "systems_15" + }, + "locked": { + "lastModified": 1705309234, + "narHash": "sha256-uNRRNRKmJyCRC/8y1RqBkqWBLM034y4qN7EprSdmgyA=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "1ef2e671c3b0c19053962c07dbda38332dcebf26", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, + "flake-utils_15": { "inputs": { "systems": "systems_16" }, @@ -936,6 +924,24 @@ "type": "github" } }, + "flake-utils_16": { + "inputs": { + "systems": "systems_17" + }, + "locked": { + "lastModified": 1710146030, + "narHash": "sha256-SZ5L6eA7HJ/nmkzGG7/ISclqe6oZdOZTNoesiInkXPQ=", + "owner": "numtide", + "repo": "flake-utils", + "rev": "b1d9ab70662946ef0850d488da1c9019f3a9752a", + "type": "github" + }, + "original": { + "owner": "numtide", + "repo": "flake-utils", + "type": "github" + } + }, "flake-utils_2": { "inputs": { "systems": "systems_2" @@ -1109,36 +1115,9 @@ } }, "git-hooks_2": { - "inputs": { - "flake-compat": "flake-compat_8", - "gitignore": "gitignore_4", - "nixpkgs": [ - "neovim-nightly-overlay", - "nixpkgs" - ], - "nixpkgs-stable": [ - "neovim-nightly-overlay", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1716213921, - "narHash": "sha256-xrsYFST8ij4QWaV6HEokCUNIZLjjLP1bYC60K8XiBVA=", - "owner": "cachix", - "repo": "git-hooks.nix", - "rev": "0e8fcc54b842ad8428c9e705cb5994eaf05c26a0", - "type": "github" - }, - "original": { - "owner": "cachix", - "repo": "git-hooks.nix", - "type": "github" - } - }, - "git-hooks_3": { "inputs": { "flake-compat": "flake-compat_10", - "gitignore": "gitignore_5", + "gitignore": "gitignore_4", "nixpkgs": [ "nixvim", "nixpkgs" @@ -1231,28 +1210,6 @@ } }, "gitignore_4": { - "inputs": { - "nixpkgs": [ - "neovim-nightly-overlay", - "git-hooks", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1709087332, - "narHash": "sha256-HG2cCnktfHsKV0s4XW83gU3F57gaTljL9KNSuG6bnQs=", - "owner": "hercules-ci", - "repo": "gitignore.nix", - "rev": "637db329424fd7e46cf4185293b9cc8c88c95394", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "gitignore.nix", - "type": "github" - } - }, - "gitignore_5": { "inputs": { "nixpkgs": [ "nixvim", @@ -1313,28 +1270,6 @@ "type": "github" } }, - "hercules-ci-effects_2": { - "inputs": { - "flake-parts": "flake-parts_9", - "nixpkgs": [ - "neovim-nightly-overlay", - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1713898448, - "narHash": "sha256-6q6ojsp/Z9P2goqnxyfCSzFOD92T3Uobmj8oVAicUOs=", - "owner": "hercules-ci", - "repo": "hercules-ci-effects", - "rev": "c0302ec12d569532a6b6bd218f698bc402e93adc", - "type": "github" - }, - "original": { - "owner": "hercules-ci", - "repo": "hercules-ci-effects", - "type": "github" - } - }, "home-manager": { "inputs": { "nixpkgs": [ @@ -1583,6 +1518,38 @@ "type": "github" } }, + "neorg-telescope_2": { + "flake": false, + "locked": { + "lastModified": 1716308299, + "narHash": "sha256-zR+r57qnfJ0V1EtsN+gyfHYTTI0I5i/GtjoAYvVmH5Y=", + "owner": "nvim-neorg", + "repo": "neorg-telescope", + "rev": "6069bf428fac56f8c028864eb1bf8beb668fca09", + "type": "github" + }, + "original": { + "owner": "nvim-neorg", + "repo": "neorg-telescope", + "type": "github" + } + }, + "neorg_2": { + "flake": false, + "locked": { + "lastModified": 1716918645, + "narHash": "sha256-DDubayvePQE3lgCnEvLfwrshFqJz9+kfnLBV6G2K9E8=", + "owner": "nvim-neorg", + "repo": "neorg", + "rev": "72da6e0773298356f5a83ce52c9efdd88d4147e5", + "type": "github" + }, + "original": { + "owner": "nvim-neorg", + "repo": "neorg", + "type": "github" + } + }, "neovim": { "inputs": { "d2": "d2", @@ -1595,16 +1562,17 @@ ], "nixvim": "nixvim", "nnn": "nnn", + "nno": "nno", "nvim-devdocs": "nvim-devdocs", "pets": "pets", "rest-nvim": "rest-nvim", - "systems": "systems_12", + "systems": "systems_13", "tree-sitter-d2": "tree-sitter-d2", "tree-sitter-just": "tree-sitter-just" }, "locked": { "lastModified": 1, - "narHash": "sha256-uKD/aBVWD5zcrJhYkd1SoNcQl12Jn/SZsP98iN4C0Bs=", + "narHash": "sha256-x82DvwENF0HkU2D+nvaCx2Zk7ZQnE4ImED8RA2u1Cno=", "path": "./neovim", "type": "path" }, @@ -1613,31 +1581,6 @@ "type": "path" } }, - "neovim-nightly-overlay": { - "inputs": { - "flake-compat": "flake-compat_7", - "flake-parts": "flake-parts_8", - "git-hooks": "git-hooks_2", - "hercules-ci-effects": "hercules-ci-effects_2", - "neovim-src": "neovim-src_2", - "nixpkgs": [ - "nixpkgs" - ] - }, - "locked": { - "lastModified": 1716827514, - "narHash": "sha256-5qS9Jn3FaEFMGGhS/1mLOUifMFDLPcLczjcdaN7xgyE=", - "owner": "nix-community", - "repo": "neovim-nightly-overlay", - "rev": "7849e018a09688cd71bde887113954b3ce08739c", - "type": "github" - }, - "original": { - "owner": "nix-community", - "repo": "neovim-nightly-overlay", - "type": "github" - } - }, "neovim-src": { "flake": false, "locked": { @@ -1654,22 +1597,6 @@ "type": "github" } }, - "neovim-src_2": { - "flake": false, - "locked": { - "lastModified": 1716642936, - "narHash": "sha256-l53vGzYIy6tI1rYBlbxW502sDgpmZ4i/uTdWWtPKPtM=", - "owner": "neovim", - "repo": "neovim", - "rev": "52389e724366ebb2fb58f08c657f580900dd09ee", - "type": "github" - }, - "original": { - "owner": "neovim", - "repo": "neovim", - "type": "github" - } - }, "nix-darwin": { "inputs": { "nixpkgs": [ @@ -1735,7 +1662,7 @@ }, "nix-index-database": { "inputs": { - "nixpkgs": "nixpkgs_5" + "nixpkgs": "nixpkgs_7" }, "locked": { "lastModified": 1716772633, @@ -1917,6 +1844,38 @@ } }, "nixpkgs_5": { + "locked": { + "lastModified": 1644486793, + "narHash": "sha256-EeijR4guVHgVv+JpOX3cQO+1XdrkJfGmiJ9XVsVU530=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "1882c6b7368fd284ad01b0a5b5601ef136321292", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_6": { + "locked": { + "lastModified": 1644486793, + "narHash": "sha256-EeijR4guVHgVv+JpOX3cQO+1XdrkJfGmiJ9XVsVU530=", + "owner": "NixOS", + "repo": "nixpkgs", + "rev": "1882c6b7368fd284ad01b0a5b5601ef136321292", + "type": "github" + }, + "original": { + "owner": "NixOS", + "ref": "nixpkgs-unstable", + "repo": "nixpkgs", + "type": "github" + } + }, + "nixpkgs_7": { "locked": { "lastModified": 1716509168, "narHash": "sha256-4zSIhSRRIoEBwjbPm3YiGtbd8HDWzFxJjw5DYSDy1n8=", @@ -1932,7 +1891,7 @@ "type": "github" } }, - "nixpkgs_6": { + "nixpkgs_8": { "locked": { "lastModified": 1716509168, "narHash": "sha256-4zSIhSRRIoEBwjbPm3YiGtbd8HDWzFxJjw5DYSDy1n8=", @@ -1981,9 +1940,9 @@ "inputs": { "devshell": "devshell_2", "flake-compat": "flake-compat_9", - "flake-parts": "flake-parts_10", + "flake-parts": "flake-parts_8", "flake-root": "flake-root_2", - "git-hooks": "git-hooks_3", + "git-hooks": "git-hooks_2", "home-manager": "home-manager_3", "nix-darwin": "nix-darwin_3", "nixpkgs": [ @@ -2031,6 +1990,73 @@ "type": "github" } }, + "nno": { + "inputs": { + "flake-utils": "flake-utils_10", + "neorg": "neorg_2", + "neorg-telescope": "neorg-telescope_2", + "nixpkgs": [ + "neovim", + "nixpkgs" + ], + "norg": "norg", + "norg-meta": "norg-meta" + }, + "locked": { + "lastModified": 1716920247, + "narHash": "sha256-kIz4xbh+meckfCZksMgb9eWv+EPLCudKmtKoHQ62UQA=", + "owner": "nvim-neorg", + "repo": "nixpkgs-neorg-overlay", + "rev": "ec5592b280ab46f616941880b99d7f76d23e1ee3", + "type": "github" + }, + "original": { + "owner": "nvim-neorg", + "repo": "nixpkgs-neorg-overlay", + "type": "github" + } + }, + "norg": { + "inputs": { + "flake-compat": "flake-compat_7", + "flake-utils": "flake-utils_11", + "nixpkgs": "nixpkgs_5" + }, + "locked": { + "lastModified": 1672582520, + "narHash": "sha256-kv3UiJUqMSF1qd3r4OCWomVTHTYjwX/EBRWm8mOSdwg=", + "owner": "nvim-neorg", + "repo": "tree-sitter-norg", + "rev": "d7a466e182a532065a559dbfc7a847271d5e9c29", + "type": "github" + }, + "original": { + "owner": "nvim-neorg", + "ref": "dev", + "repo": "tree-sitter-norg", + "type": "github" + } + }, + "norg-meta": { + "inputs": { + "flake-compat": "flake-compat_8", + "flake-utils": "flake-utils_12", + "nixpkgs": "nixpkgs_6" + }, + "locked": { + "lastModified": 1713028366, + "narHash": "sha256-8qSdwHlfnjFuQF4zNdLtU2/tzDRhDZbo9K54Xxgn5+8=", + "owner": "nvim-neorg", + "repo": "tree-sitter-norg-meta", + "rev": "6f0510cc516a3af3396a682fbd6655486c2c9d2d", + "type": "github" + }, + "original": { + "owner": "nvim-neorg", + "repo": "tree-sitter-norg-meta", + "type": "github" + } + }, "nur": { "locked": { "lastModified": 1716903916, @@ -2185,10 +2211,9 @@ "lanzaboote": "lanzaboote", "music-player": "music-player", "neovim": "neovim", - "neovim-nightly-overlay": "neovim-nightly-overlay", "nix-darwin": "nix-darwin_2", "nix-index-database": "nix-index-database", - "nixpkgs": "nixpkgs_6", + "nixpkgs": "nixpkgs_8", "nixvim": "nixvim_2", "nur": "nur", "openapi-tui": "openapi-tui", @@ -2311,7 +2336,7 @@ }, "rust-overlay_6": { "inputs": { - "flake-utils": "flake-utils_11", + "flake-utils": "flake-utils_14", "nixpkgs": [ "nixpkgs" ] @@ -2358,7 +2383,7 @@ "subflakes": { "inputs": { "csshacks": "csshacks", - "flake-utils": "flake-utils_12", + "flake-utils": "flake-utils_15", "nixpkgs": [ "nixpkgs" ] @@ -2494,6 +2519,21 @@ "type": "github" } }, + "systems_17": { + "locked": { + "lastModified": 1681028828, + "narHash": "sha256-Vy1rq5AaRuLzOxct8nz4T6wlgyUR7zLU309k9mBC768=", + "owner": "nix-systems", + "repo": "default", + "rev": "da67096a3b9bf56a91d16901293e51ba5b49a27e", + "type": "github" + }, + "original": { + "owner": "nix-systems", + "repo": "default", + "type": "github" + } + }, "systems_2": { "locked": { "lastModified": 1681028828, @@ -2714,7 +2754,7 @@ "zjstatus": { "inputs": { "crane": "crane_5", - "flake-utils": "flake-utils_13", + "flake-utils": "flake-utils_16", "nixpkgs": [ "nixpkgs" ], diff --git a/flake.nix b/flake.nix index f172d406..fdfb12a9 100644 --- a/flake.nix +++ b/flake.nix @@ -10,10 +10,6 @@ url = "github:LnL7/nix-darwin"; inputs.nixpkgs.follows = "nixpkgs"; }; - neovim-nightly-overlay = { - url = "github:nix-community/neovim-nightly-overlay"; - inputs.nixpkgs.follows = "nixpkgs"; - }; anyrun = { # My fork of anyrun that allows up / down with / url = "github:uttarayan21/anyrun"; diff --git a/neovim/flake.nix b/neovim/flake.nix index b5857c80..bb3bfcbe 100644 --- a/neovim/flake.nix +++ b/neovim/flake.nix @@ -6,6 +6,10 @@ url = "github:nix-community/nixvim"; inputs.nixpkgs.follows = "nixpkgs"; }; + nno = { + url = "github:nvim-neorg/nixpkgs-neorg-overlay"; + inputs.nixpkgs.follows = "nixpkgs"; + }; nnn = { url = "github:nix-community/neovim-nightly-overlay"; inputs.nixpkgs.follows = "nixpkgs"; @@ -56,8 +60,6 @@ self, nixpkgs, systems, - nixvim, - nnn, ... } @ inputs: let forEachSystem = nixpkgs.lib.genAttrs (import systems); diff --git a/neovim/nvim.nix b/neovim/nvim.nix index 052f492b..4591654b 100644 --- a/neovim/nvim.nix +++ b/neovim/nvim.nix @@ -521,8 +521,6 @@ in rec { tmux_show_only_in_active_window = true, } } - -- require("pets").setup({ - -- }) else vim.o.guifont = "Hasklug Nerd Font Mono:h13" vim.g.neovide_cursor_vfx_mode = "railgun" @@ -679,8 +677,6 @@ in rec { # Wut image-nvim ChatGPT-nvim - # gp-nvim - # pets-nvim # UI and UX vim-abolish diff --git a/neovim/overlays.nix b/neovim/overlays.nix index 474ee1e2..394381bc 100644 --- a/neovim/overlays.nix +++ b/neovim/overlays.nix @@ -8,17 +8,6 @@ version = "1"; src = inputs.d2; }; - gp-nvim = final.pkgs.vimUtils.buildVimPlugin { - name = "gp.nvim"; - src = inputs.gp-nvim; - }; - neogit = final.pkgs.vimUtils.buildVimPlugin { - name = "neogit"; - version = inputs.neogit.rev; - src = inputs.neogit; - dependencies = with final.vimPlugins; [plenary-nvim diffview-nvim fzf-lua]; - }; - nvim-dap-rr = final.pkgs.vimUtils.buildVimPlugin { name = "nvim-dap-rr"; # TODO: Move to subflake @@ -54,25 +43,6 @@ version = "0.4.1"; src = inputs.nvim-devdocs; }; - neorg = final.vimUtils.buildVimPlugin { - pname = "neorg"; - version = inputs.neorg.rev; - src = inputs.neorg; - dependencies = [final.vimPlugins.plenary-nvim]; - # final.lua51Packages.lua-utils-nvim final.vimPlugins.nvim-nio final.vimPlugins.nui-nvim; - }; - neorg-telescope = final.vimUtils.buildVimPlugin { - pname = "neorg-telescope"; - version = inputs.neorg-telescope.rev; - src = inputs.neorg-telescope; - dependencies = [final.vimPlugins.telescope-nvim final.vimPlugins.neorg]; - }; - pets-nvim = final.pkgs.vimUtils.buildVimPlugin { - pname = "pets-nvim"; - version = "1"; - src = inputs.pets; - dependencies = [final.pkgs.vimPlugins.hologram-nvim final.pkgs.vimPlugins.nui-nvim]; - }; }; }; tree-sitter-grammars = final: prev: { @@ -145,6 +115,7 @@ # }; in [ # inputs.nnn.overlays.default + inputs.nno.overlays.default inputs.nixvim.overlays.default vimPlugins tree-sitter-grammars