1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-23 19:49:45 +01:00
home-manager/tests/modules/programs/direnv/mise.nix

18 lines
333 B
Nix
Raw Normal View History

{ config, ... }:
{
programs.bash.enable = true;
programs.direnv = {
enable = true;
mise = {
enable = true;
package = config.lib.test.mkStubPackage { name = "mise"; };
};
};
nmt.script = ''
assertFileExists home-files/.bashrc
assertFileExists home-files/.config/direnv/lib/hm-mise.sh
'';
}