1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2025-12-03 07:31:03 +01:00
home-manager/tests/modules/programs/aliae/asserts.nix
2025-10-03 19:01:20 -05:00

30 lines
635 B
Nix

{
programs.aliae = {
enable = true;
configLocation = "/another/path/aliae.yaml";
settings = {
alias = [
{
name = "a";
value = "aliae";
}
{
name = "hello-world";
value = ''echo "hello world"'';
type = "function";
}
];
env = [
{
name = "EDITOR";
value = "code-insiders --wait";
}
];
};
};
test.asserts.assertions.expected = [
"The option `programs.aliae.configLocation` must point to a file inside user's home directory when `programs.aliae.settings` is set."
];
}