Files
home-manager/tests/modules/services/elephant/example-config.nix
Austin Horstman 84ddd33ed0 elephant: add module
Add a service module for Elephant with package installation, provider selection, TOML config generation, and a systemd user service.

This gives Elephant its own configuration surface instead of wiring it through Walker.
2026-05-17 22:25:27 -05:00

26 lines
555 B
Nix

{
services.elephant = {
enable = true;
settings = {
providers = {
default = [
"desktopapplications"
"runner"
];
max_results = 50;
};
};
};
nmt.script = ''
assertFileExists home-files/.config/elephant/config.toml
assertFileExists home-files/.config/systemd/user/elephant.service
assertFileContent home-files/.config/elephant/config.toml \
${./config.toml}
assertFileContent home-files/.config/systemd/user/elephant.service \
${./elephant.service}
'';
}