From 69141d02d984a87eb85ef2c2a135a595894ce8ed Mon Sep 17 00:00:00 2001 From: Michael Hoang Date: Tue, 8 Apr 2025 18:03:26 +0200 Subject: [PATCH] flake-parts: remove unnecessary `mkSubmoduleOptions` This is no longer necessary as of https://github.com/NixOS/nixpkgs/pull/156533. --- flakeModules/clan.nix | 11 ++++------- 1 file changed, 4 insertions(+), 7 deletions(-) diff --git a/flakeModules/clan.nix b/flakeModules/clan.nix index 21530f0c2..4c3456998 100644 --- a/flakeModules/clan.nix +++ b/flakeModules/clan.nix @@ -2,7 +2,6 @@ clan-core: { config, lib, - flake-parts-lib, self, inputs, ... @@ -44,12 +43,10 @@ in }; }; - options.flake = flake-parts-lib.mkSubmoduleOptions ( - { - clan = lib.mkOption { type = types.raw; }; - } - // outputModule.topLevel.options - ); + options.flake = { + clan = lib.mkOption { type = types.raw; }; + } // outputModule.topLevel.options; + config = { flake = { clan = outputModule.clan;