Add void option for compatibility with NixOS modules
This commit is contained in:
parent
107ed51c8e
commit
4a8558119d
1 changed files with 14 additions and 0 deletions
|
|
@ -1,4 +1,5 @@
|
||||||
{ nixosModulesPath
|
{ nixosModulesPath
|
||||||
|
, lib
|
||||||
, ...
|
, ...
|
||||||
}:
|
}:
|
||||||
{
|
{
|
||||||
|
|
@ -12,4 +13,17 @@
|
||||||
"/security/acme/"
|
"/security/acme/"
|
||||||
"/services/web-servers/nginx/"
|
"/services/web-servers/nginx/"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
|
||||||
|
options =
|
||||||
|
# We need to ignore a bunch of options that are used in NixOS modules but
|
||||||
|
# that don't apply to system-manager configs.
|
||||||
|
# TODO: can we print an informational message for things like kernel modules
|
||||||
|
# to inform users that they need to be enabled in the host system?
|
||||||
|
{
|
||||||
|
boot = lib.mkOption {
|
||||||
|
type = lib.types.raw;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue