about summary refs log tree commit diff
path: root/modules/shell/less
diff options
context:
space:
mode:
authorAlyssa Ross <hi@alyssa.is>2019-02-10 19:59:18 +0000
committerAlyssa Ross <hi@alyssa.is>2019-02-10 19:59:18 +0000
commite0a178df252d6801108699fa07cd1ea494ebc12d (patch)
tree13217ea9caf3b75a9ff81351ee747d291a1a784a /modules/shell/less
parent2349ca0a596f73209c7491769879c065db513ca6 (diff)
downloadnixlib-e0a178df252d6801108699fa07cd1ea494ebc12d.tar
nixlib-e0a178df252d6801108699fa07cd1ea494ebc12d.tar.gz
nixlib-e0a178df252d6801108699fa07cd1ea494ebc12d.tar.bz2
nixlib-e0a178df252d6801108699fa07cd1ea494ebc12d.tar.lz
nixlib-e0a178df252d6801108699fa07cd1ea494ebc12d.tar.xz
nixlib-e0a178df252d6801108699fa07cd1ea494ebc12d.tar.zst
nixlib-e0a178df252d6801108699fa07cd1ea494ebc12d.zip
config: give up on this experiment
This ended up being way more trouble than it was worth, and the approach
just flat out didn't work for stuff like OpenSSH.
Diffstat (limited to 'modules/shell/less')
-rw-r--r--modules/shell/less/default.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/modules/shell/less/default.nix b/modules/shell/less/default.nix
new file mode 100644
index 000000000000..bf6637ee3a7e
--- /dev/null
+++ b/modules/shell/less/default.nix
@@ -0,0 +1,7 @@
+{ pkgs, ... }:
+
+{
+  environment.systemPackages = with pkgs; [ less ];
+
+  environment.variables.LESS = "cRS"; # use whole terminal, color, don't wrap
+}