Add void option for compatibility with NixOS modules

This commit is contained in:
r-vdp 2024-01-08 12:10:50 +01:00
parent 107ed51c8e
commit 4a8558119d
No known key found for this signature in database

View file

@ -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;
};
};
} }