fix(lib): Stop mkEnableModule from referring to itself
This commit is contained in:
parent
e997894958
commit
b2a053e3f2
1 changed files with 2 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
|||
{ lib, namespace, ... }:
|
||||
{ lib, ... }:
|
||||
with lib;
|
||||
rec {
|
||||
## Create a module option with only an enable option.
|
||||
|
@ -8,7 +8,7 @@ rec {
|
|||
##
|
||||
#@ String
|
||||
mkEnableModule = name: {
|
||||
${namespace}.${name}.enable = mkEnableModule "${name}";
|
||||
marleyos."${name}".enable = mkEnableOption "${name}";
|
||||
};
|
||||
|
||||
## Create a NixOS module option.
|
||||
|
|
Loading…
Reference in a new issue