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.
17 lines
283 B
Nix
17 lines
283 B
Nix
{
|
|
programs.foot = {
|
|
enable = true;
|
|
package = null;
|
|
|
|
settings.main.term = "xterm-256color";
|
|
};
|
|
|
|
nmt.script = ''
|
|
assertPathNotExists home-path/bin/foot
|
|
|
|
assertFileContent \
|
|
home-files/.config/foot/foot.ini \
|
|
${./null-package-expected.ini}
|
|
'';
|
|
}
|