Compare commits
4 commits
250ebf3c06
...
8bd7474651
Author | SHA1 | Date | |
---|---|---|---|
Benjamin Bädorf | 8bd7474651 | ||
Benjamin Bädorf | 5f3dc81f73 | ||
Benjamin Bädorf | 2468acd8e0 | ||
teutat3s | 9167cc0054 |
42
flake.lock
42
flake.lock
|
@ -10,11 +10,11 @@
|
||||||
]
|
]
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1675176355,
|
"lastModified": 1677126346,
|
||||||
"narHash": "sha256-Qjxh5cmN56siY97mzmBLI1+cdjXSPqmfPVsKxBvHmwI=",
|
"narHash": "sha256-4s+PPGC1M07QsPyeye5drc2JLa1lhDnCV3XAsG8+pH4=",
|
||||||
"owner": "ryantm",
|
"owner": "ryantm",
|
||||||
"repo": "agenix",
|
"repo": "agenix",
|
||||||
"rev": "b7ffcfe77f817d9ee992640ba1f270718d197f28",
|
"rev": "c2a71c83c70844c5e31db69347e86af080bcdad0",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -324,11 +324,11 @@
|
||||||
"utils": "utils_2"
|
"utils": "utils_2"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1674440933,
|
"lastModified": 1676257154,
|
||||||
"narHash": "sha256-CASRcD/rK3fn5vUCti3jzry7zi0GsqRsBohNq9wPgLs=",
|
"narHash": "sha256-eW3jymNLpdxS5fkp9NWKyNtgL0Gqtgg1vCTofKXDF1g=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "home-manager",
|
"repo": "home-manager",
|
||||||
"rev": "65c47ced082e3353113614f77b1bc18822dc731f",
|
"rev": "2cb27c79117a2a75ff3416c3199a2dc57af6a527",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -340,11 +340,11 @@
|
||||||
},
|
},
|
||||||
"latest": {
|
"latest": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1675763311,
|
"lastModified": 1677063315,
|
||||||
"narHash": "sha256-bz0Q2H3mxsF1CUfk26Sl9Uzi8/HFjGFD/moZHz1HebU=",
|
"narHash": "sha256-qiB4ajTeAOVnVSAwCNEEkoybrAlA+cpeiBxLobHndE8=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "fab09085df1b60d6a0870c8a89ce26d5a4a708c2",
|
"rev": "988cc958c57ce4350ec248d2d53087777f9e1949",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -356,11 +356,11 @@
|
||||||
},
|
},
|
||||||
"master": {
|
"master": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1675871537,
|
"lastModified": 1677244726,
|
||||||
"narHash": "sha256-zx7BDeAGI2M19pRs2pmCuYp4W1CNC3QQSIU1BtcvaIY=",
|
"narHash": "sha256-lwzie+EgYjPianeH82eb0mEDPOmOcXqlOR5lBZ7dkkM=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "94a6a5c81a232a98c6df0977ab16019d759135e5",
|
"rev": "566169a4eaca1513d4fd396c239367b869fcdb0c",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -387,11 +387,11 @@
|
||||||
},
|
},
|
||||||
"nixos": {
|
"nixos": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1675757258,
|
"lastModified": 1677075010,
|
||||||
"narHash": "sha256-pIRer8vdsoherlRKpzfnHbMZ5TsAcvRlXHCIaHkIUbg=",
|
"narHash": "sha256-X+UmR1AkdR//lPVcShmLy8p1n857IGf7y+cyCArp8bU=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixpkgs",
|
"repo": "nixpkgs",
|
||||||
"rev": "af96094e9b8eb162d70a84fa3b39f4b7a8b264d2",
|
"rev": "c95bf18beba4290af25c60cbaaceea1110d0f727",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -407,11 +407,11 @@
|
||||||
"nixpkgs": "nixpkgs"
|
"nixpkgs": "nixpkgs"
|
||||||
},
|
},
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1674666581,
|
"lastModified": 1676297861,
|
||||||
"narHash": "sha256-KNI2s/xrL7WOYaPJAWKBtb7cCH3335rLfsL+B+ssuGY=",
|
"narHash": "sha256-YECUmK34xzg0IERpnbCnaO6z6YgfecJlstMWX7dqOZ8=",
|
||||||
"owner": "nix-community",
|
"owner": "nix-community",
|
||||||
"repo": "nixos-generators",
|
"repo": "nixos-generators",
|
||||||
"rev": "6a5dc1d3d557ea7b5c19b15ff91955124d0400fa",
|
"rev": "1e0a05219f2a557d4622bc38f542abb360518795",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
@ -422,11 +422,11 @@
|
||||||
},
|
},
|
||||||
"nixos-hardware": {
|
"nixos-hardware": {
|
||||||
"locked": {
|
"locked": {
|
||||||
"lastModified": 1675785029,
|
"lastModified": 1677232326,
|
||||||
"narHash": "sha256-EoD3Wgqc0XWkBCwUrAxCIZett64jN/SEPPpXX2mCmrE=",
|
"narHash": "sha256-rAk2/80kLvA3yIMmSV86T1B4kNvwCFMSQ1FxXndaUB0=",
|
||||||
"owner": "nixos",
|
"owner": "nixos",
|
||||||
"repo": "nixos-hardware",
|
"repo": "nixos-hardware",
|
||||||
"rev": "16b6928ec622fd2356a80c0a9359eb350a94227d",
|
"rev": "2d44015779cced4eec9df5b8dab238b9f6312cb2",
|
||||||
"type": "github"
|
"type": "github"
|
||||||
},
|
},
|
||||||
"original": {
|
"original": {
|
||||||
|
|
|
@ -56,6 +56,8 @@ in {
|
||||||
Here, the scannerDevice is `hp3900:libusb:005:002`.
|
Here, the scannerDevice is `hp3900:libusb:005:002`.
|
||||||
'';
|
'';
|
||||||
type = types.str;
|
type = types.str;
|
||||||
|
example = "hp3900:libusb:005:002";
|
||||||
|
default = "";
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
|
|
||||||
|
|
|
@ -27,33 +27,36 @@ in {
|
||||||
|
|
||||||
eval "$(${pkgs.direnv}/bin/direnv hook bash)"
|
eval "$(${pkgs.direnv}/bin/direnv hook bash)"
|
||||||
|
|
||||||
|
bind 'set show-all-if-ambiguous on'
|
||||||
|
|
||||||
# Syntax highlighting, auto suggestions, vim modes, etc.
|
# Syntax highlighting, auto suggestions, vim modes, etc.
|
||||||
# https://github.com/akinomyoga/ble.sh/wiki/Manual-A1-Installation#user-content-nixpkgs
|
# https://github.com/akinomyoga/ble.sh/wiki/Manual-A1-Installation#user-content-nixpkgs
|
||||||
source "$(blesh-share)" --attach=none
|
source "$(blesh-share)" --attach=none
|
||||||
# ctrl + space to accept autocomplete suggestion
|
# ctrl + space to accept autocomplete suggestion
|
||||||
ble-bind -m 'auto_complete' -f 'C-@' 'auto_complete/insert-on-end'
|
ble-bind -m 'auto_complete' -f 'C-@' 'auto_complete/insert-on-end'
|
||||||
# Meta (Alt) + Backspace to delete a word
|
# Meta (Alt) + Backspace to delete a word
|
||||||
ble-bind -m 'emacs' -f 'M-C-?' 'kill-backward-cword'
|
ble-bind -m 'vi_imap' -f 'M-C-?' 'kill-backward-cword'
|
||||||
# Meta (Alt) + p to jump one word backwards
|
# Meta (Alt) + p to jump one word backwards
|
||||||
ble-bind -m 'emacs' -f M-p '@nomarked backward-cword'
|
ble-bind -m 'vi_imap' -f M-p '@nomarked backward-cword'
|
||||||
# Meta (Alt) + n to jump one word forwards
|
# Meta (Alt) + n to jump one word forwards
|
||||||
ble-bind -m 'emacs' -f M-n '@nomarked forward-cword'
|
ble-bind -m 'vi_imap' -f M-n '@nomarked forward-cword'
|
||||||
# Arrow up and Ctrl + p searches history for entered input
|
# Arrow up and Ctrl + p searches history for entered input
|
||||||
ble-bind -f up 'history-search-backward hide-status:immediate-accept:empty=emulate-readline:point=end'
|
ble-bind -m 'vi_imap' -f up 'history-search-backward hide-status:immediate-accept:empty=emulate-readline:point=end'
|
||||||
ble-bind -f C-p 'history-search-backward hide-status:immediate-accept:empty=emulate-readline:point=end'
|
ble-bind -m 'vi_imap' -f C-p 'history-search-backward hide-status:immediate-accept:empty=emulate-readline:point=end'
|
||||||
# Arrow down and Ctrl + n searches history for entered input
|
# Arrow down and Ctrl + n searches history for entered input
|
||||||
ble-bind -f down 'history-search-forward hide-status:immediate-accept:empty=emulate-readline:point=end'
|
ble-bind -m 'vi_imap' -f down 'history-search-forward hide-status:immediate-accept:empty=emulate-readline:point=end'
|
||||||
ble-bind -f C-n 'history-search-forward hide-status:immediate-accept:empty=emulate-readline:point=end'
|
ble-bind -m 'vi_imap' -f C-n 'history-search-forward hide-status:immediate-accept:empty=emulate-readline:point=end'
|
||||||
|
|
||||||
function my/complete-load-hook {
|
function my/complete-load-hook {
|
||||||
bleopt complete_auto_delay=300
|
bleopt complete_auto_delay=500
|
||||||
}
|
}
|
||||||
blehook/eval-after-load complete my/complete-load-hook
|
blehook/eval-after-load complete my/complete-load-hook
|
||||||
|
|
||||||
bleopt exec_errexit_mark=
|
bleopt exec_errexit_mark=
|
||||||
bleopt history_share=1
|
|
||||||
bleopt filename_ls_colors="$LS_COLORS"
|
bleopt filename_ls_colors="$LS_COLORS"
|
||||||
|
|
||||||
|
bleopt complete_menu_style=desc-raw
|
||||||
|
|
||||||
# Bash vim mode keybindings
|
# Bash vim mode keybindings
|
||||||
if [[ $- == *i* ]]; then # in interactive session
|
if [[ $- == *i* ]]; then # in interactive session
|
||||||
set -o vi
|
set -o vi
|
||||||
|
|
|
@ -5,7 +5,7 @@ final: prev: {
|
||||||
owner = "akinomyoga";
|
owner = "akinomyoga";
|
||||||
repo = "ble.sh";
|
repo = "ble.sh";
|
||||||
rev = "0ceb0cb38157c2c37650ffb069098783338eb02c";
|
rev = "0ceb0cb38157c2c37650ffb069098783338eb02c";
|
||||||
hash = "sha256-f3w3gHKysRafBGcZbCPUvy9e/fOrQc9TBZAjb0ioxpo=";
|
hash = "sha256-e/CetIdKuc8fhZp1v+SzOBwkZn8o1g5SjaF74Ir1daI=";
|
||||||
fetchSubmodules = true;
|
fetchSubmodules = true;
|
||||||
leaveDotGit = true;
|
leaveDotGit = true;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue