mirror of
https://github.com/NotAShelf/neovim-flake.git
synced 2024-11-09 14:45:58 +01:00
Compare commits
9 commits
6c0f1bb8fb
...
c313f45b7a
Author | SHA1 | Date | |
---|---|---|---|
|
c313f45b7a | ||
f59a915da9 | |||
60d9ebb3f0 | |||
bb06827474 | |||
2bfedb14dc | |||
aa62e904d6 | |||
c3c76afda4 | |||
198a36f3d4 | |||
3aa02e8524 |
7 changed files with 259 additions and 92 deletions
1
.gitignore
vendored
1
.gitignore
vendored
|
@ -2,6 +2,7 @@
|
||||||
result
|
result
|
||||||
result/
|
result/
|
||||||
.direnv
|
.direnv
|
||||||
|
.nixos-test-history
|
||||||
|
|
||||||
# Ignore files generated by common IDEs
|
# Ignore files generated by common IDEs
|
||||||
.vscode/*
|
.vscode/*
|
||||||
|
|
203
flake.lock
203
flake.lock
|
@ -21,11 +21,11 @@
|
||||||
"nixpkgs-lib": "nixpkgs-lib"
|
"nixpkgs-lib": "nixpkgs-lib"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714641030,
|
"lastModified": 1715865404,
|
||||||
"narHash": "sha256-yzcRNDoyVP7+SCNX0wmuDju1NUCt8Dz9+lyUXEI0dbI=",
|
"narHash": "sha256-/GJvTdTpuDjNn84j82cU6bXztE0MSkdnTWClUCRub78=",
|
||||||
"owner": "hercules-ci",
|
"owner": "hercules-ci",
|
||||||
"repo": "flake-parts",
|
"repo": "flake-parts",
|
||||||
"rev": "e5d10a24b66c3ea8f150e47dfdb0416ab7c3390e",
|
"rev": "8dc45382d5206bd292f9c2768b8058a8fd8311d9",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -67,6 +67,26 @@
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
"home-manager": {
|
||||||
|
"inputs": {
|
||||||
|
"nixpkgs": [
|
||||||
|
"nixpkgs"
|
||||||
|
]
|
||||||
|
},
|
||||||
|
"locked": {
|
||||||
|
"lastModified": 1714981474,
|
||||||
|
"narHash": "sha256-b3/U21CJjCjJKmA9WqUbZGZgCvospO3ArOUTgJugkOY=",
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"rev": "6ebe7be2e67be7b9b54d61ce5704f6fb466c536f",
|
||||||
|
"type": "github"
|
||||||
|
},
|
||||||
|
"original": {
|
||||||
|
"owner": "nix-community",
|
||||||
|
"repo": "home-manager",
|
||||||
|
"type": "github"
|
||||||
|
}
|
||||||
|
},
|
||||||
"naersk": {
|
"naersk": {
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"nixpkgs": [
|
"nixpkgs": [
|
||||||
|
@ -114,16 +134,16 @@
|
||||||
},
|
},
|
||||||
"nixpkgs": {
|
"nixpkgs": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715534503,
|
"lastModified": 1716041078,
|
||||||
"narHash": "sha256-5ZSVkFadZbFP1THataCaSf0JH2cAH3S29hU9rrxTEqk=",
|
"narHash": "sha256-ewjE7eVBVmjh8faip3RW+I3WzQZ3iywQVyxZfjunfH0=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "2057814051972fa1453ddfb0d98badbea9b83c06",
|
"rev": "04496f014fcf27fdcede464d5de8558e12b5710c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"ref": "nixos-unstable",
|
"ref": "nixos-unstable-small",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
}
|
}
|
||||||
|
@ -335,11 +355,11 @@
|
||||||
"plugin-cmp-nvim-lsp": {
|
"plugin-cmp-nvim-lsp": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1702205473,
|
"lastModified": 1715931395,
|
||||||
"narHash": "sha256-/0sh9vJBD9pUuD7q3tNSQ1YLvxFMNykdg5eG+LjZAA8=",
|
"narHash": "sha256-CT1+Z4XJBVsl/RqvJeGmyitD6x7So0ylXvvef5jh7I8=",
|
||||||
"owner": "hrsh7th",
|
"owner": "hrsh7th",
|
||||||
"repo": "cmp-nvim-lsp",
|
"repo": "cmp-nvim-lsp",
|
||||||
"rev": "5af77f54de1b16c34b23cba810150689a3a90312",
|
"rev": "39e2eda76828d88b773cc27a3f61d2ad782c922d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -479,11 +499,11 @@
|
||||||
"plugin-dashboard-nvim": {
|
"plugin-dashboard-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714906999,
|
"lastModified": 1715952164,
|
||||||
"narHash": "sha256-euIAtegnJTH2hpFP0OAuvl7VpEV0Xu91h+w9p1uC3+0=",
|
"narHash": "sha256-mLQHRzt9vUJLOO15+u7EaE2FGzIm1Ba7fqwdu5zaTYA=",
|
||||||
"owner": "glepnir",
|
"owner": "glepnir",
|
||||||
"repo": "dashboard-nvim",
|
"repo": "dashboard-nvim",
|
||||||
"rev": "a0a78099658c7d4be3714f657b18ca8285d5d106",
|
"rev": "5182c09ac8085dc73b78ad0ea9f5479c9a866fc4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -495,11 +515,11 @@
|
||||||
"plugin-diffview-nvim": {
|
"plugin-diffview-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1700506468,
|
"lastModified": 1716052902,
|
||||||
"narHash": "sha256-3EdnBUka9Rh5Brl6TWpN6GlD9z32mmY3Ip+wyiKob/8=",
|
"narHash": "sha256-jbAeMJRybHQnsmTY2xeca4QJXXxdYVEK83d8NUSSnfQ=",
|
||||||
"owner": "sindrets",
|
"owner": "sindrets",
|
||||||
"repo": "diffview.nvim",
|
"repo": "diffview.nvim",
|
||||||
"rev": "3dc498c9777fe79156f3d32dddd483b8b3dbd95f",
|
"rev": "9bdd5537575c2ea7925b71ae06585b934beea13d",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -527,11 +547,11 @@
|
||||||
"plugin-dressing-nvim": {
|
"plugin-dressing-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713925216,
|
"lastModified": 1715888396,
|
||||||
"narHash": "sha256-46r7X8CNuMgSB9X1jFLTQAiiBVqszkBP6DPlo6nBAxI=",
|
"narHash": "sha256-zL+u9SUwzPZEYxaGZiRnezNUkcr8ZkdOMyGKSXF5xcQ=",
|
||||||
"owner": "stevearc",
|
"owner": "stevearc",
|
||||||
"repo": "dressing.nvim",
|
"repo": "dressing.nvim",
|
||||||
"rev": "5162edb1442a729a885c45455a07e9a89058be2f",
|
"rev": "572314728cb1ce012e825fd66331f52c94acac12",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -559,11 +579,11 @@
|
||||||
"plugin-fidget-nvim": {
|
"plugin-fidget-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1712242924,
|
"lastModified": 1716068358,
|
||||||
"narHash": "sha256-fZhK5opGXRRryhNpdaEPLpBq4tTibZREelXmasMLHzw=",
|
"narHash": "sha256-WT1KnFXC/jjd9tQEiJ7f5mU9FMK++TSOItxZyl6G8GM=",
|
||||||
"owner": "j-hui",
|
"owner": "j-hui",
|
||||||
"repo": "fidget.nvim",
|
"repo": "fidget.nvim",
|
||||||
"rev": "1ba38e4cbb24683973e00c2e36f53ae64da38ef5",
|
"rev": "a2ece932b663898d4015f458ce7ad92c389690ba",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -575,11 +595,11 @@
|
||||||
"plugin-flutter-tools": {
|
"plugin-flutter-tools": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713525182,
|
"lastModified": 1716029468,
|
||||||
"narHash": "sha256-krcaaDPJsftkrcEov1QdKQUQBH6+PgjNwFamWpmNFkU=",
|
"narHash": "sha256-nMP1LVUViKeL2BaYr/oAbqVKmOZ1SomWozKz4OYaovU=",
|
||||||
"owner": "akinsho",
|
"owner": "akinsho",
|
||||||
"repo": "flutter-tools.nvim",
|
"repo": "flutter-tools.nvim",
|
||||||
"rev": "f04131d6b2c82c2a7624a8843642d6269b50b437",
|
"rev": "c19f94576f866888f1b84aa73c690b30de4b86fb",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -591,11 +611,11 @@
|
||||||
"plugin-gesture-nvim": {
|
"plugin-gesture-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715211052,
|
"lastModified": 1715776261,
|
||||||
"narHash": "sha256-vRXQBoKhmYid1M1d4OI/PolwQIwMn1x7EgxeW6Dzj0o=",
|
"narHash": "sha256-XgF5BTKR5IiELNqYDvOPIGMw3HtkyNd3K5SOGfYFizY=",
|
||||||
"owner": "notomo",
|
"owner": "notomo",
|
||||||
"repo": "gesture.nvim",
|
"repo": "gesture.nvim",
|
||||||
"rev": "9b3d6361b37628f8869cd237416a1674103c0dc1",
|
"rev": "3750313a40a752629e3e90f3c3e591969fdab388",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -639,11 +659,11 @@
|
||||||
"plugin-gruvbox": {
|
"plugin-gruvbox": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715085640,
|
"lastModified": 1715974972,
|
||||||
"narHash": "sha256-2Ad5I+peKCD2BCm4m/QIjqpW08qQvrY+o3bK5UEy1x8=",
|
"narHash": "sha256-BDBNeXf189K7l53IaWKWo0eta79cAuYKW0kP6jYfV1w=",
|
||||||
"owner": "ellisonleao",
|
"owner": "ellisonleao",
|
||||||
"repo": "gruvbox.nvim",
|
"repo": "gruvbox.nvim",
|
||||||
"rev": "c442515506caa166118e157980f62a9ac24fa8c3",
|
"rev": "4f8e2dc9e8cdfdd3a988227c2c347043a46f51a4",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -703,11 +723,11 @@
|
||||||
"plugin-image-nvim": {
|
"plugin-image-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715712794,
|
"lastModified": 1715966662,
|
||||||
"narHash": "sha256-7mZ7a9fU/6RxnzUiYxgIsZA2wGXTalfR2cPBp6kLO3Q=",
|
"narHash": "sha256-2f7ss/QTohYSp0EqaFnBtQeOjI+3fIn+Wmgy/TcfbDk=",
|
||||||
"owner": "3rd",
|
"owner": "3rd",
|
||||||
"repo": "image.nvim",
|
"repo": "image.nvim",
|
||||||
"rev": "b979fa1194443c97dd8cb6053a4cec163c9048f5",
|
"rev": "da64ce69598875c9af028afe129f916b02ccc42e",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -719,11 +739,11 @@
|
||||||
"plugin-indent-blankline": {
|
"plugin-indent-blankline": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1710388427,
|
"lastModified": 1716042154,
|
||||||
"narHash": "sha256-Xp8ZQBz0in2MX3l0bnLUsSbH0lDPE+QvdmFpBFry5yY=",
|
"narHash": "sha256-qlFoZ/GDsbnIhMoT+esNxheC3I9guxiV2DQYlY9kcMM=",
|
||||||
"owner": "lukas-reineke",
|
"owner": "lukas-reineke",
|
||||||
"repo": "indent-blankline.nvim",
|
"repo": "indent-blankline.nvim",
|
||||||
"rev": "3d08501caef2329aba5121b753e903904088f7e6",
|
"rev": "ece00d5fb44d196680a81fd2761062d2fa44663b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -751,11 +771,11 @@
|
||||||
"plugin-lsp-lines": {
|
"plugin-lsp-lines": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1709989705,
|
"lastModified": 1715965937,
|
||||||
"narHash": "sha256-opViLzbwtyUgDoaVKz4z6SN06N8jCQ0YmoqPIht8e64=",
|
"narHash": "sha256-C3m91uwldDwaZlYjb6j2sPlvO6ADqhl0AmUWZVYEDHo=",
|
||||||
"owner": "~whynothugo",
|
"owner": "~whynothugo",
|
||||||
"repo": "lsp_lines.nvim",
|
"repo": "lsp_lines.nvim",
|
||||||
"rev": "6f3defec73f7c87939e800e9afa5d0571b19b401",
|
"rev": "d2facc98064934ebd480cd563212a84d957075fe",
|
||||||
"type": "sourcehut"
|
"type": "sourcehut"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -911,11 +931,11 @@
|
||||||
"plugin-noice-nvim": {
|
"plugin-noice-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715763787,
|
"lastModified": 1716037348,
|
||||||
"narHash": "sha256-sn8CiNq9JJXIxB6EEX98XaHhwyBPP7X1zqYMHLgdqd0=",
|
"narHash": "sha256-/dtOpAjzgMJHSjV9AZcR991I/r9xaMnpg0/1c6NdItg=",
|
||||||
"owner": "folke",
|
"owner": "folke",
|
||||||
"repo": "noice.nvim",
|
"repo": "noice.nvim",
|
||||||
"rev": "61947de3d5904375ea94e0c13db2537488ad9829",
|
"rev": "9f6f6ba74f8bfbf7e43d6302cf86b070362f6203",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -944,11 +964,11 @@
|
||||||
"plugin-nui-nvim": {
|
"plugin-nui-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714991123,
|
"lastModified": 1716019714,
|
||||||
"narHash": "sha256-W5w8mWjZhf8rhFYDJX4vPAszxKX6uLgT7+8xg3dY4Ok=",
|
"narHash": "sha256-JRVVRT1CZZTjr58L+gAer7eCg9/fMdAD0YD5ljNwl0Q=",
|
||||||
"owner": "MunifTanjim",
|
"owner": "MunifTanjim",
|
||||||
"repo": "nui.nvim",
|
"repo": "nui.nvim",
|
||||||
"rev": "a3597dc88b53489d3fddbddbbd13787355253bb0",
|
"rev": "b1b3dcd6ed8f355c78bad3d395ff645be5f8b6ae",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -960,11 +980,11 @@
|
||||||
"plugin-nvim-autopairs": {
|
"plugin-nvim-autopairs": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714895218,
|
"lastModified": 1715818272,
|
||||||
"narHash": "sha256-LMRt1XEoeHB3blfjI0SsQr4goMUmwjoMGS2LcR3ye20=",
|
"narHash": "sha256-qcfYChucUpRFKMfB+IphmIPzH/HgobVDK44wDtVXSnU=",
|
||||||
"owner": "windwp",
|
"owner": "windwp",
|
||||||
"repo": "nvim-autopairs",
|
"repo": "nvim-autopairs",
|
||||||
"rev": "14e97371b2aab6ee70054c1070a123dfaa3e217e",
|
"rev": "b0b79e42a28f09719a7da9534c3731fa37319d9b",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -992,11 +1012,11 @@
|
||||||
"plugin-nvim-cmp": {
|
"plugin-nvim-cmp": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715507122,
|
"lastModified": 1715954188,
|
||||||
"narHash": "sha256-wyHbTXFqvt3kXo+EaHdrEggMDOnw4enAAf4pA9ZQm2g=",
|
"narHash": "sha256-GhXfnWqpXFVM7Yi9+qEXHfA6LIMILcMG9pP4VYXuptE=",
|
||||||
"owner": "hrsh7th",
|
"owner": "hrsh7th",
|
||||||
"repo": "nvim-cmp",
|
"repo": "nvim-cmp",
|
||||||
"rev": "24122371810089d390847d8ba66325c1f1aa64c0",
|
"rev": "5260e5e8ecadaf13e6b82cf867a909f54e15fd07",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1056,11 +1076,11 @@
|
||||||
"plugin-nvim-dap": {
|
"plugin-nvim-dap": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715700682,
|
"lastModified": 1715872903,
|
||||||
"narHash": "sha256-Gh1Vt8NLZ2MZUUB2EmTWYM0owUrpIpVyzxBgyBOwXWk=",
|
"narHash": "sha256-UZm2DA19uBeL2L5JKAZilqBTTPSA5X3ZEcAVJUq65p8=",
|
||||||
"owner": "mfussenegger",
|
"owner": "mfussenegger",
|
||||||
"repo": "nvim-dap",
|
"repo": "nvim-dap",
|
||||||
"rev": "559d0bbdbc4be4c7e774423061263771be1dbde8",
|
"rev": "5a2f7121869394502521c52b2bc581ab22c69447",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1120,11 +1140,11 @@
|
||||||
"plugin-nvim-lspconfig": {
|
"plugin-nvim-lspconfig": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715682701,
|
"lastModified": 1716002336,
|
||||||
"narHash": "sha256-kmo8UfTxarnxZLjL2qOeh4Jo/krxx3uqq073YnsFYxQ=",
|
"narHash": "sha256-Ofat8It2TCjxnMPHmQ5fZTeJDpMTIrDMGHXle66IWe8=",
|
||||||
"owner": "neovim",
|
"owner": "neovim",
|
||||||
"repo": "nvim-lspconfig",
|
"repo": "nvim-lspconfig",
|
||||||
"rev": "a27179f56c6f98a4cdcc79ee2971b514815a4940",
|
"rev": "6d2ae9fdc3111a6e8fd5db2467aca11737195a30",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1200,11 +1220,11 @@
|
||||||
"plugin-nvim-notify": {
|
"plugin-nvim-notify": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1708161547,
|
"lastModified": 1715959703,
|
||||||
"narHash": "sha256-xJYPOX4YLcWojMCdP1RO22/7FMrbcBQxqxrcVCE2TrU=",
|
"narHash": "sha256-wxyHwL/uFdp6w32CVHgSOWkzRrIRuFvWh+J2401RAAA=",
|
||||||
"owner": "rcarriga",
|
"owner": "rcarriga",
|
||||||
"repo": "nvim-notify",
|
"repo": "nvim-notify",
|
||||||
"rev": "5371f4bfc1f6d3adf4fe9d62cd3a9d44356bfd15",
|
"rev": "d333b6f167900f6d9d42a59005d82919830626bf",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1232,11 +1252,11 @@
|
||||||
"plugin-nvim-surround": {
|
"plugin-nvim-surround": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1714506343,
|
"lastModified": 1715892699,
|
||||||
"narHash": "sha256-PJdkmTzuRldPTdaoerdddOL0/+V/KyNSzFBBee6P4kU=",
|
"narHash": "sha256-Mg60htwXPqNKu+JnexKiKF3Huvr7pBNdvc6f3Kt2FRA=",
|
||||||
"owner": "kylechui",
|
"owner": "kylechui",
|
||||||
"repo": "nvim-surround",
|
"repo": "nvim-surround",
|
||||||
"rev": "6d0dc3dbb557bcc6a024969da461df4ba803fc48",
|
"rev": "79aaa42da1f698ed31bcbe7f83081f69dca7ba17",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1264,11 +1284,11 @@
|
||||||
"plugin-nvim-treesitter-context": {
|
"plugin-nvim-treesitter-context": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715659155,
|
"lastModified": 1715954279,
|
||||||
"narHash": "sha256-EYAIm8qicpfvOzg5xPWRwuWMPcUa/hg+q3so+s9sw5g=",
|
"narHash": "sha256-CriN45mFfyjTt14RJnmzXidACHJXUaA6XPwAoEtQUzg=",
|
||||||
"owner": "nvim-treesitter",
|
"owner": "nvim-treesitter",
|
||||||
"repo": "nvim-treesitter-context",
|
"repo": "nvim-treesitter-context",
|
||||||
"rev": "df58c81237ffe2b277e14a1692212162a34e2e2a",
|
"rev": "55e29081e73d2e4b2d62fb4dc3eebe21bf66a1e2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1280,11 +1300,11 @@
|
||||||
"plugin-nvim-ts-autotag": {
|
"plugin-nvim-ts-autotag": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1707265789,
|
"lastModified": 1716038325,
|
||||||
"narHash": "sha256-cPIEIjcYxX3ZkOyou2mYlHMdhBxCoVTpJVXZtiWe9Ks=",
|
"narHash": "sha256-gh+DhC7+8O4z4lG/RIaMJgumnq/Vg5eWa6j/P8MQk0s=",
|
||||||
"owner": "windwp",
|
"owner": "windwp",
|
||||||
"repo": "nvim-ts-autotag",
|
"repo": "nvim-ts-autotag",
|
||||||
"rev": "531f48334c422222aebc888fd36e7d109cb354cd",
|
"rev": "aeb7090098722ffce16597bd0331105495640153",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1312,11 +1332,11 @@
|
||||||
"plugin-obsidian-nvim": {
|
"plugin-obsidian-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715192893,
|
"lastModified": 1715965562,
|
||||||
"narHash": "sha256-lGnEEFp/MU5sciq6bH5YKAiFx7kf9tTYqE+eB8zvf7A=",
|
"narHash": "sha256-PiaPmQ11Wx57ojCG4G50Rwr+phanvuoBqbPHg3N4eGw=",
|
||||||
"owner": "epwalsh",
|
"owner": "epwalsh",
|
||||||
"repo": "obsidian.nvim",
|
"repo": "obsidian.nvim",
|
||||||
"rev": "2e1f03416583232899dc1b6e27673da5e705abef",
|
"rev": "7b59d907a3ee6952c58e07139cf021a205692338",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1344,11 +1364,11 @@
|
||||||
"plugin-orgmode-nvim": {
|
"plugin-orgmode-nvim": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715684611,
|
"lastModified": 1715953175,
|
||||||
"narHash": "sha256-T/vjpYbrq1LTNitnSGGmguVr5UV83AFhNGmeNS2H9J0=",
|
"narHash": "sha256-vhygnZNJceJHq4gQm6h0zv/Cgp9+fSeWuL1Varrws1U=",
|
||||||
"owner": "nvim-orgmode",
|
"owner": "nvim-orgmode",
|
||||||
"repo": "orgmode",
|
"repo": "orgmode",
|
||||||
"rev": "8ec0bcc6f6476d246159f738081256c97a7a9b2c",
|
"rev": "dbcff9e8d9df48bfff95f7204ca483c11864a755",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1520,11 +1540,11 @@
|
||||||
"plugin-telescope": {
|
"plugin-telescope": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715697240,
|
"lastModified": 1715968939,
|
||||||
"narHash": "sha256-lHMbJAQ0ja2UrUantxQOVWMG502oo6QDod7AmpCw1yE=",
|
"narHash": "sha256-+h0L5vpwXFNDuzE5Dne5zWuKtZ1mquAhdplHcUxPg8w=",
|
||||||
"owner": "nvim-telescope",
|
"owner": "nvim-telescope",
|
||||||
"repo": "telescope.nvim",
|
"repo": "telescope.nvim",
|
||||||
"rev": "6f6bb8065567b56c42e283b06e8a1c670c0092a1",
|
"rev": "0c12735d5aff6a48ffd8111bf144dc2ff44e5975",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1568,11 +1588,11 @@
|
||||||
"plugin-tokyonight": {
|
"plugin-tokyonight": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713855116,
|
"lastModified": 1715879379,
|
||||||
"narHash": "sha256-vUEPbgDen3ubcyJZdWCgnChOo1T0LFvZI++8RgGGx1Y=",
|
"narHash": "sha256-lJjBsAguMDA765lfxfUwU0I0tWmAESLCv9yiVrhTYDo=",
|
||||||
"owner": "folke",
|
"owner": "folke",
|
||||||
"repo": "tokyonight.nvim",
|
"repo": "tokyonight.nvim",
|
||||||
"rev": "67afeaf7fd6ebba000633e89f63c31694057edde",
|
"rev": "634015fff1457ed66cf5364213a2bbbc51a82d6c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1616,11 +1636,11 @@
|
||||||
"plugin-vim-fugitive": {
|
"plugin-vim-fugitive": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715753556,
|
"lastModified": 1715976636,
|
||||||
"narHash": "sha256-icKBJ/1J15h4dNS7NMfjMM/kjMPy8YMiyTI2pGTwYJY=",
|
"narHash": "sha256-517q3oPvshwUBhXEDuB23S0RPuHvSZWK/1tr6wDhEyA=",
|
||||||
"owner": "tpope",
|
"owner": "tpope",
|
||||||
"repo": "vim-fugitive",
|
"repo": "vim-fugitive",
|
||||||
"rev": "5b0347b5231a0f40abc311ccaf7bbf02d3ce3a5a",
|
"rev": "5a9bd42dd8dd127779f3cd8982a0419b7ca9c7f5",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1632,11 +1652,11 @@
|
||||||
"plugin-vim-illuminate": {
|
"plugin-vim-illuminate": {
|
||||||
"flake": false,
|
"flake": false,
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1713467568,
|
"lastModified": 1715960194,
|
||||||
"narHash": "sha256-o0D1edrsHkaljrzBFZXjdxiK/5ziCGJxM/kYNJgBI1E=",
|
"narHash": "sha256-DdJzTHxoOv+vjFymETa2MgXpM/qDwvZjpoo1W8OOBj0=",
|
||||||
"owner": "RRethy",
|
"owner": "RRethy",
|
||||||
"repo": "vim-illuminate",
|
"repo": "vim-illuminate",
|
||||||
"rev": "e522e0dd742a83506db0a72e1ced68c9c130f185",
|
"rev": "5eeb7951fc630682c322e88a9bbdae5c224ff0aa",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -1749,6 +1769,7 @@
|
||||||
"inputs": {
|
"inputs": {
|
||||||
"flake-parts": "flake-parts",
|
"flake-parts": "flake-parts",
|
||||||
"flake-utils": "flake-utils",
|
"flake-utils": "flake-utils",
|
||||||
|
"home-manager": "home-manager",
|
||||||
"nil": "nil",
|
"nil": "nil",
|
||||||
"nixpkgs": "nixpkgs",
|
"nixpkgs": "nixpkgs",
|
||||||
"nmd": "nmd",
|
"nmd": "nmd",
|
||||||
|
@ -1930,11 +1951,11 @@
|
||||||
"nixpkgs": "nixpkgs_3"
|
"nixpkgs": "nixpkgs_3"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1715170163,
|
"lastModified": 1715775020,
|
||||||
"narHash": "sha256-EuRzY3HI9sMMqPX7Yb7xkZaBoznP0mtS2O/Kk/r6fYk=",
|
"narHash": "sha256-CCqc3c3yvXgRaTW18epSHlF2HeikwNXqxnlrRs2sl3Y=",
|
||||||
"owner": "mitchellh",
|
"owner": "mitchellh",
|
||||||
"repo": "zig-overlay",
|
"repo": "zig-overlay",
|
||||||
"rev": "9c0a853edcab5d60d28784c10b13392d7fabb9d7",
|
"rev": "03303bf01701b04ec87c55ce5d8d6f5ecf86d0a7",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
10
flake.nix
10
flake.nix
|
@ -14,6 +14,8 @@
|
||||||
imports = [
|
imports = [
|
||||||
# add lib to module args
|
# add lib to module args
|
||||||
{_module.args = {inherit (nixpkgs) lib;};}
|
{_module.args = {inherit (nixpkgs) lib;};}
|
||||||
|
|
||||||
|
./flake/tests # machine tests for nvf
|
||||||
./flake/apps.nix
|
./flake/apps.nix
|
||||||
./flake/legacyPackages.nix
|
./flake/legacyPackages.nix
|
||||||
./flake/overlays.nix
|
./flake/overlays.nix
|
||||||
|
@ -77,7 +79,7 @@
|
||||||
# Flake inputs
|
# Flake inputs
|
||||||
inputs = {
|
inputs = {
|
||||||
## Basic Inputs
|
## Basic Inputs
|
||||||
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable";
|
nixpkgs.url = "github:nixos/nixpkgs/nixos-unstable-small";
|
||||||
flake-parts.url = "github:hercules-ci/flake-parts";
|
flake-parts.url = "github:hercules-ci/flake-parts";
|
||||||
flake-utils.url = "github:numtide/flake-utils";
|
flake-utils.url = "github:numtide/flake-utils";
|
||||||
systems.url = "github:nix-systems/default";
|
systems.url = "github:nix-systems/default";
|
||||||
|
@ -88,6 +90,12 @@
|
||||||
flake = false;
|
flake = false;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# Primarily used for testing nvf.
|
||||||
|
home-manager = {
|
||||||
|
url = "github:nix-community/home-manager";
|
||||||
|
inputs.nixpkgs.follows = "nixpkgs";
|
||||||
|
};
|
||||||
|
|
||||||
# TODO: get zig from the zig overlay instead of nixpkgs
|
# TODO: get zig from the zig overlay instead of nixpkgs
|
||||||
zig.url = "github:mitchellh/zig-overlay";
|
zig.url = "github:mitchellh/zig-overlay";
|
||||||
|
|
||||||
|
|
33
flake/tests/checks/homeManagerModule.nix
Normal file
33
flake/tests/checks/homeManagerModule.nix
Normal file
|
@ -0,0 +1,33 @@
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
nixosTest,
|
||||||
|
homeManagerModules,
|
||||||
|
testProfile,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
nixosTest {
|
||||||
|
name = "home-manager-test";
|
||||||
|
skipLint = true;
|
||||||
|
|
||||||
|
nodes.machine = {
|
||||||
|
imports = [
|
||||||
|
testProfile
|
||||||
|
inputs.home-manager.nixosModules.home-manager
|
||||||
|
];
|
||||||
|
|
||||||
|
config = {
|
||||||
|
home-manager = {
|
||||||
|
sharedModules = [
|
||||||
|
homeManagerModules.nvf
|
||||||
|
];
|
||||||
|
|
||||||
|
users.test = {
|
||||||
|
home.stateVersion = "24.05";
|
||||||
|
programs.nvf.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
testScript = "";
|
||||||
|
}
|
56
flake/tests/checks/nixosModule.nix
Normal file
56
flake/tests/checks/nixosModule.nix
Normal file
|
@ -0,0 +1,56 @@
|
||||||
|
{
|
||||||
|
nixosTest,
|
||||||
|
nixosModules,
|
||||||
|
testProfile,
|
||||||
|
...
|
||||||
|
}:
|
||||||
|
nixosTest {
|
||||||
|
name = "nixos-test";
|
||||||
|
|
||||||
|
nodes.machine = {
|
||||||
|
imports = [
|
||||||
|
testProfile
|
||||||
|
nixosModules.nvf
|
||||||
|
];
|
||||||
|
|
||||||
|
config = {
|
||||||
|
programs.nvf.enable = true;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
|
testScript = ''
|
||||||
|
import subprocess
|
||||||
|
machine.wait_for_unit("default.target")
|
||||||
|
|
||||||
|
def check_errs(process):
|
||||||
|
# Check for errors
|
||||||
|
print("Connecting to Neovim process")
|
||||||
|
|
||||||
|
# Capture stdout and stderr
|
||||||
|
stdout, stderr = process.communicate()
|
||||||
|
|
||||||
|
# Print captured stdout and stderr
|
||||||
|
if stdout:
|
||||||
|
print("Captured stdout:")
|
||||||
|
print(stdout.decode('utf-8'))
|
||||||
|
if stderr:
|
||||||
|
print("Captured stderr:")
|
||||||
|
print(stderr.decode('utf-8'))
|
||||||
|
|
||||||
|
def run_neovim_headless():
|
||||||
|
print("Running Neovim in headless mode.")
|
||||||
|
|
||||||
|
# Run Neovim in headless mode
|
||||||
|
nvim_process = subprocess.Popen(['nvim', '--headless'], stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.PIPE)
|
||||||
|
|
||||||
|
check_errs(nvim_process)
|
||||||
|
|
||||||
|
# Load configuration file
|
||||||
|
nvim_process.stdin.write(b':NonExistentCommand\n')
|
||||||
|
nvim_process.stdin.flush()
|
||||||
|
|
||||||
|
# run Neovim in headless mode
|
||||||
|
# and expect it to return sucessfully
|
||||||
|
machine.succeed(run_neovim_headless())
|
||||||
|
'';
|
||||||
|
}
|
35
flake/tests/default.nix
Normal file
35
flake/tests/default.nix
Normal file
|
@ -0,0 +1,35 @@
|
||||||
|
{
|
||||||
|
inputs,
|
||||||
|
config,
|
||||||
|
lib,
|
||||||
|
...
|
||||||
|
}: {
|
||||||
|
perSystem = {
|
||||||
|
pkgs,
|
||||||
|
self',
|
||||||
|
...
|
||||||
|
}: let
|
||||||
|
inherit (lib.filesystem) packagesFromDirectoryRecursive;
|
||||||
|
inherit (lib.customisation) callPackageWith;
|
||||||
|
inherit (lib.attrsets) recursiveUpdate;
|
||||||
|
|
||||||
|
defaultInherits = {
|
||||||
|
inherit (config.flake) homeManagerModules nixosModules;
|
||||||
|
inherit inputs;
|
||||||
|
testProfile = ./profiles/minimal.nix;
|
||||||
|
};
|
||||||
|
|
||||||
|
callPackage = callPackageWith (recursiveUpdate pkgs defaultInherits);
|
||||||
|
in {
|
||||||
|
checks = packagesFromDirectoryRecursive {
|
||||||
|
inherit callPackage;
|
||||||
|
directory = ./checks;
|
||||||
|
};
|
||||||
|
|
||||||
|
# expose checks as packages to be built
|
||||||
|
packages = {
|
||||||
|
test-home-manager-module = self'.checks.homeManagerModule.driverInteractive;
|
||||||
|
test-nixos-module = self'.checks.nixosModule.driverInteractive;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
13
flake/tests/profiles/minimal.nix
Normal file
13
flake/tests/profiles/minimal.nix
Normal file
|
@ -0,0 +1,13 @@
|
||||||
|
{
|
||||||
|
# he's a thicc boi
|
||||||
|
virtualisation = {
|
||||||
|
cores = 2;
|
||||||
|
memorySize = 2048;
|
||||||
|
qemu.options = ["-vga none -enable-kvm -device virtio-gpu-pci,xres=720,yres=1440"];
|
||||||
|
};
|
||||||
|
|
||||||
|
users.users.test = {
|
||||||
|
isNormalUser = true;
|
||||||
|
password = "";
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue