mirror of
https://github.com/nix-community/home-manager
synced 2024-11-18 17:19:45 +01:00
24 lines
407 B
Nix
24 lines
407 B
Nix
|
{ ... }:
|
||
|
|
||
|
{
|
||
|
programs = {
|
||
|
atuin = {
|
||
|
enable = true;
|
||
|
enableBashIntegration = false;
|
||
|
enableZshIntegration = false;
|
||
|
};
|
||
|
bash.enable = true;
|
||
|
zsh.enable = true;
|
||
|
};
|
||
|
|
||
|
test.stubs = {
|
||
|
atuin = { };
|
||
|
bash-preexec = { };
|
||
|
};
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileNotRegex home-files/.zshrc '@atuin@ init zsh'
|
||
|
assertFileNotRegex home-files/.bashrc '@atuin@ init bash'
|
||
|
'';
|
||
|
}
|