1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-30 06:59:45 +01:00
home-manager/tests/modules/programs/direnv/mise.nix
2024-10-26 00:16:39 +02:00

17 lines
333 B
Nix

{ 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
'';
}