1
0
Fork 0
mirror of https://github.com/nix-community/home-manager synced 2024-11-13 22:59:44 +01:00
home-manager/tests/modules/programs/mise/fish-integration.nix

17 lines
345 B
Nix
Raw Normal View History

2023-06-07 10:32:56 +02:00
{ config, ... }: {
programs = {
mise = {
package = config.lib.test.mkStubPackage { name = "mise"; };
2023-06-07 10:32:56 +02:00
enable = true;
enableFishIntegration = true;
};
fish.enable = true;
};
nmt.script = ''
assertFileRegex home-files/.config/fish/config.fish '/nix/store/.*mise.*/bin/mise activate fish | source'
2023-06-07 10:32:56 +02:00
'';
}