summaryrefslogtreecommitdiff
path: root/home
diff options
context:
space:
mode:
authorstuebinm2024-03-16 20:14:33 +0100
committerstuebinm2024-03-16 20:14:33 +0100
commitc621e1292bcc02d720fab80660282e75063a5efc (patch)
tree8f46552bec6548413cc9563b3a5a87e171dd4a71 /home
parent127207830ac01eb3a49619d8ce1612a31a047b73 (diff)
home: minor tweaks
Diffstat (limited to 'home')
-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