Skip to content

Commit

Permalink
chore(lockfile): update flake.lock (#32)
Browse files Browse the repository at this point in the history
* chore(lockfile): update flake.lock

Flake lock file updates:

• Updated input 'home-manager':
    'github:nix-community/home-manager/ef64efdbaca99f9960f75efab991e4c49e79a5f1?narHash=sha256-/NptDI4njO5hH0ZVQ2yzbvTXmBOabZaGYkjhnMJ37TY%3D' (2025-01-03)
  → 'github:nix-community/home-manager/0d7908bd09165db6699908b7e3970f137327cbf0?narHash=sha256-P4lsS2Y5GzBfC8OfXtD/xWEucX6oHGTjOzjEjEJbXfc%3D' (2025-01-04)
• Updated input 'nixvim':
    'github:nix-community/nixvim/c674f10d189fcbcf961f3c19479ac44d7d2d6e50?narHash=sha256-6WPABLqswdWdSLd5YSbGlKaMhpSIXODasz3etxuC%2BK0%3D' (2024-11-19)
  → 'github:nix-community/nixvim/e07a482fd86eed90fd9378b97a2f938f07da1499?narHash=sha256-OopQbnOMP5YCl2aVEQQmPeze8wDmofZjzU6URCFEPQU%3D' (2025-01-04)
• Updated input 'nixvim/devshell':
    'github:numtide/devshell/dd6b80932022cea34a019e2bb32f6fa9e494dfef?narHash=sha256-xRJ2nPOXb//u1jaBnDP56M7v5ldavjbtR6lfGqSvcKg%3D' (2024-10-07)
  → 'github:numtide/devshell/f7795ede5b02664b57035b3b757876703e2c3eac?narHash=sha256-tO3HrHriyLvipc4xr%2BEwtdlo7wM1OjXNjlWRgmM7peY%3D' (2024-12-31)
• Updated input 'nixvim/git-hooks':
    'github:cachix/git-hooks.nix/cd1af27aa85026ac759d5d3fccf650abe7e1bbf0?narHash=sha256-vFta1uHnD29VUY4HJOO/D6p6rxyObnf%2BInnSMT4jlMU%3D' (2024-11-11)
  → 'github:cachix/git-hooks.nix/a5a961387e75ae44cc20f0a57ae463da5e959656?narHash=sha256-3FZAG%2BpGt3OElQjesCAWeMkQ7C/nB1oTHLRQ8ceP110%3D' (2025-01-03)
• Removed input 'nixvim/git-hooks/nixpkgs-stable'
• Updated input 'nixvim/nuschtosSearch':
    'github:NuschtOS/search/fe07070f811b717a4626d01fab714a87d422a9e1?narHash=sha256-z0BSSf78LkxIrrFXZYmCoRRAxAmxMUKpK7CyxQRvkZI%3D' (2024-11-18)
  → 'github:NuschtOS/search/836908e3bddd837ae0f13e215dd48767aee355f0?narHash=sha256-Iv59gMDZajNfezTO0Fw6LHE7uKAShxbvMidmZREit7c%3D' (2025-01-02)
• Updated input 'nixvim/treefmt-nix':
    'github:numtide/treefmt-nix/579b9a2fd0020cd9cd81a4ef4eab2dca4d20c94c?narHash=sha256-sJxPh%2BV0vUkBhlA58ok/y0o96AtfqiEF0O8qsdolI6o%3D' (2024-11-18)
  → 'github:numtide/treefmt-nix/29806abab803e498df96d82dd6f34b32eb8dd2c8?narHash=sha256-1hKMRIT%2BQZNWX46e4gIovoQ7H8QRb7803ZH4qSKI45o%3D' (2025-01-03)
• Updated input 'vimPlugins_vim-rescript':
    'github:rescript-lang/vim-rescript/2065f4e1d319ffd4ff7046879f270ebbadda873e?narHash=sha256-JpEO1Zb%2Bmm9dJISriticFmtPeVwZGpUAFv18wV6/dIg%3D' (2023-11-28)
  → 'github:rescript-lang/vim-rescript/aea571554254ab9da4f997b20d2ebca2fd099c52?narHash=sha256-l12sg9O5elqWTFRs9asa9xMnKw5GbV7ZB8HmtjcFVps%3D' (2024-07-28)

* fix(nvim): applied breaking changes & removed unused

---------

Co-authored-by: anakmangang <contact@evilfactorylabs.org>
  • Loading branch information
r17x and anakmagang authored Jan 6, 2025
1 parent d54aabb commit 7a28f90
Show file tree
Hide file tree
Showing 4 changed files with 38 additions and 59 deletions.
46 changes: 21 additions & 25 deletions flake.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

16 changes: 9 additions & 7 deletions nvim.nix/config/ui.nix
Original file line number Diff line number Diff line change
Expand Up @@ -123,14 +123,16 @@ in
plugins.presence-nvim.enableLineNumber = true;
plugins.presence-nvim.autoUpdate = true;

plugins.nvim-colorizer = {
plugins.colorizer = {
enable = true;
userDefaultOptions = {
mode = "virtualtext";
virtualtext = " ■";
RRGGBBAA = true;
RRGGBB = true;
AARRGGBB = true;
settings = {
user_default_options = {
mode = "virtualtext";
virtualtext = " ■";
RRGGBBAA = true;
RRGGBB = true;
AARRGGBB = true;
};
};
};

Expand Down
28 changes: 4 additions & 24 deletions nvim.nix/config/writing.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{
branches,
icons,
pkgs,
helpers,
Expand All @@ -23,29 +22,10 @@
}
];

autoCmd = [
{
event = [
"BufEnter"
"VimEnter"
];
pattern = [ "*.norg" ];
callback.__raw =
helpers.mkLuaFun
# lua
''
if _neorg_module_autocommand_triggered == nil then
vim.cmd [[ NeorgStart ]]
end
vim.cmd[[ setlocal wrap ]]
'';
}
];

extraPlugins = with pkgs.vimPlugins; [
venn-nvim
neorg-telescope
];

plugins.cmp.settings.sources = [
{ name = "neorg"; }
];
Expand Down Expand Up @@ -142,9 +122,9 @@
plugins.zen-mode.enable = true;
plugins.neorg = {
enable = true;
package = branches.master.vimPlugins.neorg;
lazyLoading = true;
modules = {
telescopeIntegration.enable = true;
settings.lazyLoading = true;
settings.load = {
"core.dirman" = {
config = {
default_workspace = "home";
Expand Down
7 changes: 4 additions & 3 deletions nvim.nix/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,8 @@
...
}:
let
nixvimLib = inputs.nixvim.lib.${system};
helpers = nixvimLib.helpers // {
nixvimLib = inputs.nixvim.lib;
helpers = nixvimLib.nixvim // {
mkLuaFunWithName =
name: lua:
# lua
Expand Down Expand Up @@ -44,11 +44,12 @@
};
};
nvim = nixvim'.makeNixvimWithModule nixvimModule;
nvimCheck = nixvimLib.${system}.check.mkTestDerivationFromNixvimModule nixvimModule;
in
{
checks = {
# Run `nix flake check .` to verify that your config is not broken
nvim = nixvimLib.check.mkTestDerivationFromNixvimModule nixvimModule;
nvim = nvimCheck;
};

packages = {
Expand Down

0 comments on commit 7a28f90

Please sign in to comment.