fixup! all of my custom options are now held in an attribute set called movOpts

This commit is contained in:
pagedmov
2024-11-06 20:11:37 -05:00
parent fc327f501c
commit 1a2402dee7
39 changed files with 195 additions and 187 deletions

View File

@@ -1,9 +1,9 @@
{host, lib, config, ...}:
{
options = {
networkModule.enable = lib.mkEnableOption "enables network configuration";
movOpts.networkModule.enable = lib.mkEnableOption "enables network configuration";
};
config = lib.mkIf config.networkModule.enable {
config = lib.mkIf config.movOpts.networkModule.enable {
networking = {
networkmanager.enable = true;
hostName = "${host}";