about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authoraszlig <aszlig@redmoonstudios.org>2016-05-14 14:59:03 +0200
committeraszlig <aszlig@redmoonstudios.org>2016-05-14 14:59:03 +0200
commit6eb4a696894af42411dd0bf1a4b7540cdc70b69c (patch)
tree981b70733c049029ee171775e6247cad18d74ec2 /machines
parent44a4713bdeca1a4ae0a4926396876b59033f1cf2 (diff)
tyree: Make the shell less annoying to use
Having the default locale set to de_DE it feels pretty weird getting
output that sounds awkward (well, obviously because German IS awkward)
and I often have to pause for a minute to understand what the message
should actually mean.

The main user of the system is rarely working in the shell, but even
during those occasions it's difficult for me if I get something like
"There is an error message saying <some blurb in German>".

Also, having command line completion is a good idea as well.

Signed-off-by: aszlig <aszlig@redmoonstudios.org>
Diffstat (limited to 'machines')
-rw-r--r--machines/aszlig/managed/tyree.nix5
1 files changed, 5 insertions, 0 deletions
diff --git a/machines/aszlig/managed/tyree.nix b/machines/aszlig/managed/tyree.nix
index 113e531e..fe3e2f69 100644
--- a/machines/aszlig/managed/tyree.nix
+++ b/machines/aszlig/managed/tyree.nix
@@ -56,6 +56,11 @@
     chromium.enablePepperFlash = true;
   };
 
+  programs.bash.enableCompletion = true;
+  programs.bash.interactiveShellInit = lib.mkBefore ''
+    export LANG=en_US.UTF-8
+  '';
+
   services.openssh.enable = true;
   services.tlp.enable = true;