1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-19 16:29:47 +01:00
home-manager/tests/modules/programs/scmpuff/bash.nix

16 lines
311 B
Nix
Raw Normal View History

{ pkgs, ... }: {
config = {
programs = {
scmpuff.enable = true;
bash.enable = true;
};
nmt.script = ''
assertFileExists home-files/.bashrc
assertFileContains \
home-files/.bashrc \
'eval "$(${pkgs.gitAndTools.scmpuff}/bin/scmpuff init -s)"'
'';
};
}