mirror of
https://github.com/nix-community/home-manager
synced 2024-12-22 19:13:27 +00:00
17 lines
329 B
Nix
17 lines
329 B
Nix
|
{ config, ... }: {
|
||
|
programs = {
|
||
|
mise = {
|
||
|
package = config.lib.test.mkStubPackage { name = "mise"; };
|
||
|
enable = true;
|
||
|
enableBashIntegration = true;
|
||
|
};
|
||
|
|
||
|
bash.enable = true;
|
||
|
};
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileRegex home-files/.bashrc 'eval "$(/nix/store/.*mise.*/bin/mise activate bash)"'
|
||
|
'';
|
||
|
}
|
||
|
|