File tree Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Expand file tree Collapse file tree 3 files changed +7
-3
lines changed Original file line number Diff line number Diff line change 1
1
{
2
- inputs ,
3
2
pkgs ,
4
3
config ,
5
4
lib ,
17
16
enable = mkBoolOpt false "Whether or not to enable nsearch." ;
18
17
} ;
19
18
20
- config = mkIf cfg . enable { home . packages = [ inputs . nsearch . packages . ${ pkgs . system } . default ] ; } ;
19
+ config = mkIf cfg . enable { home . packages = with pkgs ; [ nsearch ] ; } ;
21
20
}
Original file line number Diff line number Diff line change 57
57
programs . fish = {
58
58
enable = true ;
59
59
interactiveShellInit = ''
60
- # There are fish intregration from home-manager module
61
60
${ getExe pkgs . nix-your-shell } --nom fish | source
62
61
63
62
set -gx GOPATH $XDG_DATA_HOME/go
64
63
set -gx PATH /usr/local/bin /usr/bin ~/.local/bin $GOPATH/bin/ $PATH $HOME/.cargo/bin
65
64
66
65
set -gx fzf_diff_highlighter delta --paging=never --line-numbers
66
+
67
+ # \c = control, \e = escape
68
+ bind --mode default \e\cn ${ getExe pkgs . nsearch }
67
69
'' ;
68
70
69
71
shellAbbrs = {
Original file line number Diff line number Diff line change
1
+ { inputs , ... } :
2
+
3
+ _final : prev : { nsearch = inputs . nsearch . packages . ${ prev . system } . default ; }
You can’t perform that action at this time.
0 commit comments