mirror of
https://github.com/nix-community/home-manager
synced 2024-09-12 06:16:33 +02:00
This adds the support for the mise program, the successor of rtx. This commit therefore also removes the rtx module.
17 lines
325 B
Nix
17 lines
325 B
Nix
{ config, ... }: {
|
|
programs = {
|
|
mise = {
|
|
package = config.lib.test.mkStubPackage { name = "mise"; };
|
|
enable = true;
|
|
enableZshIntegration = true;
|
|
};
|
|
|
|
zsh.enable = true;
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertFileRegex home-files/.zshrc 'eval "$(/nix/store/.*mise.*/bin/mise activate zsh)"'
|
|
'';
|
|
}
|
|
|