diff options
author | Alan Pearce | 2024-05-12 23:24:03 +0200 |
---|---|---|
committer | Alan Pearce | 2024-05-13 00:46:18 +0200 |
commit | ad064dfb954a815f1e5175ab42033fc9e1fb6d02 (patch) | |
tree | 919fe8c9462acc9b663e556dc85c116035e9cee1 /nix/modules/source-options.nix | |
parent | 895a3b061bb4717955ffbceab3bf3c6ecebacd70 (diff) | |
download | searchix-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.nix | 4 |
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_-]*"; |