home-manager/tests/modules/programs/rtx/fish-integration.nix
2023-06-07 10:32:56 +02:00

16 lines
341 B
Nix

{ config, ... }: {
programs = {
rtx = {
package = config.lib.test.mkStubPackage { name = "rtx"; };
enable = true;
enableFishIntegration = true;
};
fish.enable = true;
};
nmt.script = ''
assertFileRegex home-files/.config/fish/config.fish '/nix/store/.*rtx.*/bin/rtx activate fish | source'
'';
}