about summary refs log tree commit diff stats
path: root/nix/modules/source-options.nix
diff options
context:
space:
mode:
authorAlan Pearce2024-05-12 23:24:03 +0200
committerAlan Pearce2024-05-13 00:46:18 +0200
commitad064dfb954a815f1e5175ab42033fc9e1fb6d02 (patch)
tree919fe8c9462acc9b663e556dc85c116035e9cee1 /nix/modules/source-options.nix
parent895a3b061bb4717955ffbceab3bf3c6ecebacd70 (diff)
downloadsearchix-ad064dfb954a815f1e5175ab42033fc9e1fb6d02.tar.lz
searchix-ad064dfb954a815f1e5175ab42033fc9e1fb6d02.tar.zst
searchix-ad064dfb954a815f1e5175ab42033fc9e1fb6d02.zip
build: export nixos module and overlay
Diffstat (limited to 'nix/modules/source-options.nix')
-rw-r--r--nix/modules/source-options.nix4
1 files changed, 3 insertions, 1 deletions
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_-]*";