mirror of
https://github.com/nix-community/home-manager.git
synced 2024-12-15 17:50:53 +00:00
928f2528f9
This adds the support for the mise program, the successor of rtx. This commit therefore also removes the rtx module.
16 lines
329 B
Nix
16 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)"'
|
|
'';
|
|
}
|
|
|