mirror of
https://github.com/nix-community/home-manager
synced 2024-11-06 03:09:45 +01:00
17 lines
321 B
Nix
17 lines
321 B
Nix
|
{ config, ... }: {
|
||
|
programs = {
|
||
|
rtx = {
|
||
|
package = config.lib.test.mkStubPackage { name = "rtx"; };
|
||
|
enable = true;
|
||
|
enableZshIntegration = true;
|
||
|
};
|
||
|
|
||
|
zsh.enable = true;
|
||
|
};
|
||
|
|
||
|
nmt.script = ''
|
||
|
assertFileRegex home-files/.zshrc 'eval "$(/nix/store/.*rtx.*/bin/rtx activate zsh)"'
|
||
|
'';
|
||
|
}
|
||
|
|