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