summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--home/home-minimal.nix7
-rw-r--r--home/home.nix5
-rw-r--r--home/packages.nix1
3 files changed, 11 insertions, 2 deletions
diff --git a/home/home-minimal.nix b/home/home-minimal.nix
index d6488a5..c2475ce 100644
--- a/home/home-minimal.nix
+++ b/home/home-minimal.nix
@@ -13,8 +13,11 @@
stateVersion = "21.03";
homeDirectory = "/home/stuebinm";
username = "stuebinm";
- sessionVariables.MANPAGER = "sh -c 'col -bx | bat -l man -p'";
- sessionVariables.MANROFFOPT = "-c";
+ sessionVariables = {
+ MANPAGER = "sh -c 'col -bx | bat -l man -p'";
+ MANROFFOPT = "-c";
+ EDITOR = "vim";
+ };
};
home.keyboard.options = [ "caps:escape" ];
diff --git a/home/home.nix b/home/home.nix
index 202ae1c..23399d1 100644
--- a/home/home.nix
+++ b/home/home.nix
@@ -102,6 +102,7 @@
xmlpretty = "xmllint --format - | bat -l xml";
wormhole = "wormhole-rs";
noms = "curl https://www.bahn.de/service/zug/db_lounge -s | htmlq --attribute href a | grep Speisen | xargs curl -s | pdftotext - /dev/stdout | less";
+ gosh = "rlwrap gosh";
};
functions.fetchpdf.body = ''
set url $argv[1]
@@ -285,6 +286,10 @@
programs.ssh = {
# forwardAgent = true;
enable = true;
+
+ extraConfig = ''
+ SetEnv TERM=xterm-256color
+ '';
matchBlocks = let
keydir = config.home.homeDirectory + "/.ssh";
hetznerlogin = match: {user = "root"; identityFile = keydir + "/hetzner.pub";} // match;
diff --git a/home/packages.nix b/home/packages.nix
index 5e863e8..1b150f1 100644
--- a/home/packages.nix
+++ b/home/packages.nix
@@ -28,6 +28,7 @@ in
kijetesantakaluotokieni mpc_cli duf dufs progress hledger
wineWowPackages.full sops xdg-utils exiftool
mercurial darcs git-annex-remote-remarkable2
+ rlwrap
# graphical utils
kitty baobab
# gnss things