From ad064dfb954a815f1e5175ab42033fc9e1fb6d02 Mon Sep 17 00:00:00 2001 From: Alan Pearce Date: Sun, 12 May 2024 23:24:03 +0200 Subject: build: export nixos module and overlay --- nix/modules/source-options.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) (limited to 'nix/modules/source-options.nix') diff --git a/nix/modules/source-options.nix b/nix/modules/source-options.nix index 4757c89..d60d023 100644 --- a/nix/modules/source-options.nix +++ b/nix/modules/source-options.nix @@ -1,9 +1,11 @@ -{ cfg }: +{ cfg, settingsFormat }: { config, lib, name, ... }: let inherit (lib) literalExpression mkOption mkEnableOption types; in { + freeformType = settingsFormat.type; + options = { key = mkOption { type = types.strMatching "[a-z0-9_-]*"; -- cgit 1.4.1