[Nix-dev] changing /etc/inputrc

Rok Garbas rok at garbas.si
Sun Aug 30 20:06:27 CEST 2015


Quoting Henning Thielemann (2015-08-30 13:45:20)
> 
> I am still learning NixOS ... I want to alter /etc/inputrc this way:
> 
> < "\e[5~": beginning-of-history
> < "\e[6~": end-of-history
> ---
> > "\e[5~": history-search-backward
> > "\e[6~": history-search-forward
> 
> but inputrc is a symlink to nix-store and I guess that it is not a good 
> idea to alter that one, but instead I have to write something to 
> /etc/nixos/configuration.nix, right? But what?

environment.etc."inputrc".text = ''
  ...
'';

more here ... http://nixos.org/nixos/manual/ch-options.html#opt-environment.etc

--
Rok Garbas - http://www.garbas.si
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 819 bytes
Desc: signature
Url : http://lists.science.uu.nl/pipermail/nix-dev/attachments/20150830/53235dce/attachment-0001.bin 


More information about the nix-dev mailing list