summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lib/common.nix26
-rw-r--r--lib/linux.nix5
-rw-r--r--lib/packages.nix3
3 files changed, 32 insertions, 2 deletions
diff --git a/lib/common.nix b/lib/common.nix
index ff7edd6..7d5f520 100644
--- a/lib/common.nix
+++ b/lib/common.nix
@@ -70,6 +70,32 @@ in {
enable = true;
};
+ readline = {
+ enable = true;
+ variables = {
+ keyseq-timeout = 1200;
+ colored-stats = true;
+ colored-completion-prefix = true;
+ expand-tilde = true;
+ };
+ bindings = {
+ # wrap a command in '$(...| fzf)'
+ "\\C-xf" = ''"\C-e | fzf)\C-a(\C-a$\C-b\C-a"'';
+ "\\e\\C-f" = "dump-functions"; # help
+ "\\e\\C-o" = "dabbrev-expand"; # expand
+ "\\e\\C-v" = "dump-variables"; # help
+ "\\em" = "beginning-of-line";
+ # emacs-like history navigation
+ "\\en" = "next-history";
+ "\\ep" = "previous-history";
+ };
+ extraConfig = ''
+ $if Guile
+ "\C-o": "()\C-b"
+ $endif
+ '';
+ };
+
fzf = {
enable = true;
enableBashIntegration = true;
diff --git a/lib/linux.nix b/lib/linux.nix
index a4af6c2..91c0c33 100644
--- a/lib/linux.nix
+++ b/lib/linux.nix
@@ -70,6 +70,7 @@ in
dict
dmenu
feh
+ firefox
flameshot
gajim
glibcLocales # rofi locale fix -- https://github.com/rycee/home-manager/issues/354#issuecomment-415914278
@@ -99,7 +100,7 @@ in
xterm
yank
youtube-dl
- yubioath-desktop
+ yubioath-flutter
zathura
];
};
@@ -319,7 +320,7 @@ in
};
random-background = {
- enable = true;
+ enable = false;
enableXinerama = true;
imageDirectory = "%h/wallpaper";
interval = "30m";
diff --git a/lib/packages.nix b/lib/packages.nix
index 6761da3..c0a1565 100644
--- a/lib/packages.nix
+++ b/lib/packages.nix
@@ -42,12 +42,14 @@ let
in {
home.packages = [
amfora
+ ansifilter
asciinema
aspellDicts.en
bat
barrier
bc
cava
+ chafa
cloc
cmatrix
direnv
@@ -77,6 +79,7 @@ in {
ncdu
nmap
ncmpc
+ nix-index
nix-prefetch-scripts
nixos-generators
noto-fonts-emoji