1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-12 12:01:08 +01:00
home-manager/tests/modules/programs/readline/prefer-xdg-dirs.nix
Austin Horstman cba2f9ce95 treewide: reformat nixfmt-rfc-style
Reformat repository using new nixfmt-rfc-style.
2025-04-08 08:50:05 -07:00

24 lines
500 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"'
'';
}