about summary refs log tree commit diff stats
path: root/hm
diff options
context:
space:
mode:
authorBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-09 16:32:33 +0200
committerBenedikt Peetz <benedikt.peetz@b-peetz.de>2024-05-09 20:33:35 +0200
commit7b4ff390b5d7c698acced64c0633227143ccf49c (patch)
tree135860d70eed8f12f95064b79248fcde24e995a6 /hm
parentbuild(treewide): Update (diff)
downloadnixos-config-7b4ff390b5d7c698acced64c0633227143ccf49c.tar.gz
nixos-config-7b4ff390b5d7c698acced64c0633227143ccf49c.zip
chore(treewide): Conform to changed settings
Diffstat (limited to '')
-rw-r--r--hm/soispha/conf/lf/default.nix2
-rw-r--r--hm/soispha/conf/nvim/plgs/telescope/defaults/default.nix2
-rw-r--r--hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix9
-rw-r--r--hm/soispha/conf/nvim/plgs/telescope/keymaps/default.nix4
4 files changed, 10 insertions, 7 deletions
diff --git a/hm/soispha/conf/lf/default.nix b/hm/soispha/conf/lf/default.nix
index 260b01fb..7b604ed0 100644
--- a/hm/soispha/conf/lf/default.nix
+++ b/hm/soispha/conf/lf/default.nix
@@ -53,7 +53,7 @@ in {
       cmd on-quit %${pkgs.ctpv}/bin/ctpv -e $id
       set cleaner ${pkgs.ctpv}/bin/ctpvclear
 
-      source ${nixosConfig.age.secrets.lf.cd_paths}
+      source ${nixosConfig.age.secrets.lf_cd_paths.path}
     '';
   };
 }
diff --git a/hm/soispha/conf/nvim/plgs/telescope/defaults/default.nix b/hm/soispha/conf/nvim/plgs/telescope/defaults/default.nix
index 1d88aad8..933089ef 100644
--- a/hm/soispha/conf/nvim/plgs/telescope/defaults/default.nix
+++ b/hm/soispha/conf/nvim/plgs/telescope/defaults/default.nix
@@ -1,5 +1,5 @@
 {...}: {
-  programs.nixvim.plugins.telescope.defaults = {
+  programs.nixvim.plugins.telescope.settings.defaults = {
     mappings = let
       insert_and_normal_mappings = {
         # map actions.which_key to <c-h> (default: <c-/>)
diff --git a/hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix b/hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix
index b236f3c5..c1cebc09 100644
--- a/hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix
+++ b/hm/soispha/conf/nvim/plgs/telescope/extensions/frecency/default.nix
@@ -12,10 +12,11 @@
     plugins.telescope = {
       extensions.frecency = {
         enable = true;
-        showUnindexed = true;
-        showScores = true;
-        # TODO: add this:
-        #db_safe_mode = true;
+        settings = {
+          show_scores = true;
+          db_safe_mode = false;
+          default_workspace = "CWD"; # or 'LSP'
+        };
       };
     };
   };
diff --git a/hm/soispha/conf/nvim/plgs/telescope/keymaps/default.nix b/hm/soispha/conf/nvim/plgs/telescope/keymaps/default.nix
index f0745f73..e551cc5a 100644
--- a/hm/soispha/conf/nvim/plgs/telescope/keymaps/default.nix
+++ b/hm/soispha/conf/nvim/plgs/telescope/keymaps/default.nix
@@ -2,7 +2,9 @@
   programs.nixvim.plugins.telescope.keymaps = {
     "<space>rg" = {
       action = "live_grep";
-      desc = "[rg] in a live session";
+      options = {
+        desc = "[rg] in a live session";
+      };
     };
   };
 }