2
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-12-25 12:33:27 +00:00
home-manager/tests/modules/programs/rtx/fish-integration.nix

17 lines
341 B
Nix
Raw Normal View History

2023-06-07 08:32:56 +00:00
{ 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'
'';
}