aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
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
-rw-r--r--sys/secrets/default.nix12
-rw-r--r--sys/svcs/nix/default.nix10
6 files changed, 19 insertions, 20 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";
+ };
};
};
}
diff --git a/sys/secrets/default.nix b/sys/secrets/default.nix
index 95bbf248..b013681b 100644
--- a/sys/secrets/default.nix
+++ b/sys/secrets/default.nix
@@ -25,13 +25,11 @@ in {
owner = "soispha";
group = "users";
};
- lf = {
- cd_paths = {
- file = ./lf/cd_paths;
- mode = "700";
- owner = "soispha";
- group = "users";
- };
+ lf_cd_paths = {
+ file = ./lf/cd_paths;
+ mode = "700";
+ owner = "soispha";
+ group = "users";
};
serverphoneCa = {
file = ./serverphone/ca.key;
diff --git a/sys/svcs/nix/default.nix b/sys/svcs/nix/default.nix
index 9b05af1f..24c72b97 100644
--- a/sys/svcs/nix/default.nix
+++ b/sys/svcs/nix/default.nix
@@ -8,11 +8,9 @@
...
}: {
nix = {
- package = pkgs.nixUnstable;
+ package = pkgs.nixVersions.latest;
- # Disable the NixPath (this is but a remnant of old days)
- # In the `nix repl` you should simply replace your `:l <nixpkgs>` with `:lf nixpgks`
- nixPath = lib.mkForce [];
+ # Disable nix channels (this is a remnant of old days)
channel.enable = false;
registry = {
@@ -30,6 +28,7 @@
dates = "weekly";
options = "--delete-older-than 7d";
};
+
settings = {
auto-optimise-store = true;
experimental-features = [
@@ -48,8 +47,7 @@
keep-failed = true; # keep failed tmp build dirs
pure-eval = true; # restrict file system and network access to hash
- sandbox-fallback = false; # Don't disable the sandbox, if the kernel doesn't support
- # it
+ sandbox-fallback = false; # Don't disable the sandbox, if the kernel doesn't support it
};
};
}