mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 17:19:45 +01:00
21 lines
310 B
Nix
21 lines
310 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
programs = {
|
||
|
atuin.enable = true;
|
||
|
bash.enable = true;
|
||
|
};
|
||
|
|
||
|
test.stubs = {
|
||
|
atuin = { };
|
||
|
bash-preexec = { };
|
||
|
};
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileExists home-files/.bashrc
|
||
|
assertFileContains \
|
||
|
home-files/.bashrc \
|
||
|
'eval "$(@atuin@/bin/atuin init bash)"'
|
||
|
'';
|
||
|
}
|