From 1a6dd904101cbff2d6848cfd90fb8d76c7db3859 Mon Sep 17 00:00:00 2001 From: Robin Appelman Date: Fri, 6 Mar 2026 00:15:35 +0100 Subject: [PATCH] add appDirectories to hm module --- nix/hm-module.nix | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/nix/hm-module.nix b/nix/hm-module.nix index 096d853..072fda4 100644 --- a/nix/hm-module.nix +++ b/nix/hm-module.nix @@ -9,6 +9,7 @@ with lib; let format = pkgs.formats.toml {}; configFile = format.generate "haze.toml" ({ sources_root = cfg.sourcesRoot; + app_directories = cfg.appDirectories; work_dir = cfg.workDir; auto_setup = { enabled = cfg.autoSetup.enable; @@ -61,6 +62,12 @@ in { description = "Directory to store instance data"; }; + appDirectories = mkOption { + type = types.listOf types.str; + default = []; + description = "Paths to additional app directories"; + }; + autoSetup = mkOption { type = types.submodule { options = {