Skip to content

Commit

Permalink
Show file tree
Hide file tree
Showing 3 changed files with 26 additions and 2 deletions.
1 change: 0 additions & 1 deletion home/rithvij/bookmarks/default.nix
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,6 @@
# TODO buku server, buku webext etc?
# https://github.com/samhh/bukubrow-webext/issues/165
home.packages = [ pkgs.buku ];
programs.tealdeer.enable = true;
services.espanso = {
enable = true;
# TODO config, matches
Expand Down
26 changes: 26 additions & 0 deletions home/rithvij/bookmarks/navi.nix
Original file line number Diff line number Diff line change
@@ -1,13 +1,39 @@
{ navi_config, pkgs, ... }:
let
naviOverlay = f: p: {
navi = p.navi.overrideAttrs (old: rec {
pname = "navi";
version = "master";
src = p.fetchFromGitHub {
owner = "denisidoro";
repo = "navi";
rev = "52e90ad8f993c9db458915b681a3ddf165b8002b";
hash = "sha256-8e2sbKc6eYDerf/q0JwS6GPXkqDXLerbPqWK6oemSqM=";
};
cargoDeps = old.cargoDeps.overrideAttrs (
p.lib.const {
name = "${pname}-vendor.tar.gz";
inherit src;
outputHash = "sha256-vNfcSHNP0KNM884DMtraYohLOvumSZnEtemJ+bJSQ5o=";
}
);
});
};
navi = pkgs.navi;
in
{
nixpkgs.overlays = [ naviOverlay ];
programs.tealdeer.enable = true;
programs.navi = {
enable = true;
enableBashIntegration = true;
enableZshIntegration = true;
enableFishIntegration = true;
settings = {
client = {
tealdeer = true;
};
};
};
programs.bash.initExtra = ''
if [[ :$SHELLOPTS: =~ :(vi|emacs): ]]; then
Expand Down
1 change: 0 additions & 1 deletion lib/overlays.nix
Original file line number Diff line number Diff line change
@@ -1,5 +1,4 @@
{ inputs, system }:
with inputs;
let
schemaOverlay = f: p: {
nix-schema = inputs.nix-schema.packages.${system}.nix.overrideAttrs (old: {
Expand Down

0 comments on commit 4545d27

Please sign in to comment.