mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 05:29:46 +01:00
23 lines
376 B
Nix
23 lines
376 B
Nix
{ ... }:
|
|
|
|
{
|
|
programs = {
|
|
atuin.enable = true;
|
|
bash = {
|
|
enable = true;
|
|
enableCompletion = false;
|
|
};
|
|
};
|
|
|
|
test.stubs = {
|
|
atuin = { name = "atuin"; };
|
|
bash-preexec = { };
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileExists home-files/.bashrc
|
|
assertFileContains \
|
|
home-files/.bashrc \
|
|
'eval "$(@atuin@/bin/atuin init bash )"'
|
|
'';
|
|
}
|