From 49c0c607d81aa75cbad68173686aed4164220414 Mon Sep 17 00:00:00 2001 From: servius Date: Fri, 20 Feb 2026 02:01:24 +0530 Subject: [PATCH] feat: Added stuff --- home/apps/zen.nix | 22 ++++++++++++++++++++++ home/default.nix | 1 + home/programs/carapace.nix | 9 ++------- home/programs/fish.nix | 1 + home/programs/nushell.nix | 1 + neovim/default.nix | 30 +++++++++++++++++++++++++++--- nixos/documentation.nix | 1 + 7 files changed, 55 insertions(+), 10 deletions(-) diff --git a/home/apps/zen.nix b/home/apps/zen.nix index e31c12f0..f690baf8 100644 --- a/home/apps/zen.nix +++ b/home/apps/zen.nix @@ -30,6 +30,28 @@ }; }; spacesForce = true; + spaces = let + containers = config.programs.zen-browser.profiles."default".containers; + in { + "Personal" = { + id = ""; + icon = "👤"; + container = containers."Personal".id; + position = 1000; + }; + "Work" = { + id = "00bdd434-e31b-4e2b-b8f5-fa7055631a64"; + icon = "💼"; + container = containers."Work".id; + position = 2000; + }; + "Shopping" = { + id = "77452260-56e6-4c9e-8d5f-417958bc4fa4"; + icon = "💸"; + container = containers."Shopping".id; + position = 3000; + }; + }; extensions.packages = with pkgs.nur.repos.rycee.firefox-addons; [ privacy-badger violentmonkey diff --git a/home/default.nix b/home/default.nix index f5f8342f..36bd7e84 100644 --- a/home/default.nix +++ b/home/default.nix @@ -27,6 +27,7 @@ home-manager = { enable = true; }; + man.generateCaches = true; }; fonts.fontconfig.enable = true; diff --git a/home/programs/carapace.nix b/home/programs/carapace.nix index 484207c4..3d5b90e9 100644 --- a/home/programs/carapace.nix +++ b/home/programs/carapace.nix @@ -1,13 +1,8 @@ -{ - pkgs, - lib, - device, - ... -}: { +{...}: { programs. carapace = { enable = false; - enableFishIntegration = true; + enableFishIntegration = false; enableNushellIntegration = true; }; } diff --git a/home/programs/fish.nix b/home/programs/fish.nix index fa159e20..466c69d5 100644 --- a/home/programs/fish.nix +++ b/home/programs/fish.nix @@ -43,6 +43,7 @@ ''} ''; }; + home.shell.enableFishIntegration = true; } // lib.optionalAttrs (!(device.is "tsuba")) { stylix.targets.fish.enable = false; diff --git a/home/programs/nushell.nix b/home/programs/nushell.nix index 9dbc5c20..eca1c101 100644 --- a/home/programs/nushell.nix +++ b/home/programs/nushell.nix @@ -26,4 +26,5 @@ } ''; }; + home.shell.enableNushellIntegration = true; } diff --git a/neovim/default.nix b/neovim/default.nix index 235d2b0c..1179af97 100644 --- a/neovim/default.nix +++ b/neovim/default.nix @@ -620,6 +620,21 @@ in { }; sources = { cmdline = []; + # default = + # rawLua + # /* + # lua + # */ + # '' + # function(ctx) + # local success, node = pcall(vim.treesitter.get_node) + # if success and node and vim.tbl_contains({ 'comment', 'line_comment', 'block_comment' }, node:type()) then + # return { 'buffer' } + # else + # return { 'git', 'lsp', 'path', 'snippets', 'buffer', 'dictionary', 'ripgrep', 'tmux' } + # end + # end + # ''; default = [ "git" "lsp" @@ -628,6 +643,7 @@ in { "path" "buffer" "ripgrep" + # "tmux" ]; providers = { buffer = { @@ -639,23 +655,30 @@ in { path = {}; dictionary = { module = "blink-cmp-dictionary"; - name = "Dict"; + name = "dict"; min_keyword_length = 3; opts = { }; }; git = { module = "blink-cmp-git"; - name = "Git"; + name = "git"; opts = { # -- options for the blink-cmp-git }; }; ripgrep = { module = "blink-ripgrep"; - name = "Ripgrep"; + name = "ripgrep"; opts = {}; }; + # tmux = { + # module = "blink-cmp-tmux"; + # name = "tmux"; + # opts = { + # triggered_only = false; + # }; + # }; }; }; }; @@ -665,6 +688,7 @@ in { blink-cmp-dictionary.enable = true; blink-cmp-copilot.enable = true; blink-cmp-spell.enable = true; + blink-cmp-tmux.enable = true; blink-compat = { enable = true; settings.impersonate_nvim_cmp = true; diff --git a/nixos/documentation.nix b/nixos/documentation.nix index 2a4031fe..d06b6542 100644 --- a/nixos/documentation.nix +++ b/nixos/documentation.nix @@ -4,4 +4,5 @@ documentation.dev.enable = true; documentation.doc.enable = true; documentation.nixos.enable = true; + documentation.man.generateCaches = true; }