mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 13:13:26 +00:00
3142bdcc47
Based on PR #4189
28 lines
534 B
Nix
28 lines
534 B
Nix
{ ... }:
|
|
|
|
{
|
|
home.preferXdgDirectories = true;
|
|
|
|
programs.readline = {
|
|
enable = true;
|
|
variables.bell-style = "audible";
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileContent \
|
|
home-files/.config/inputrc \
|
|
${
|
|
builtins.toFile "readline-expected" ''
|
|
# Generated by Home Manager.
|
|
|
|
$include /etc/inputrc
|
|
set bell-style audible
|
|
|
|
''
|
|
}
|
|
|
|
assertFileContains \
|
|
home-path/etc/profile.d/hm-session-vars.sh \
|
|
'export INPUTRC="/home/hm-user/.config/inputrc"'
|
|
'';
|
|
}
|