mirror of
https://github.com/nix-community/home-manager.git
synced 2026-12-06 04:40:17 +00:00
Add an assertion for the invalid combination of a null package with server systemd unit generation.
12 lines
215 B
Nix
12 lines
215 B
Nix
{
|
|
programs.foot = {
|
|
enable = true;
|
|
package = null;
|
|
server.enable = true;
|
|
};
|
|
|
|
test.asserts.assertions.expected = [
|
|
"programs.foot.server.enable requires a non-null programs.foot.package"
|
|
];
|
|
}
|