1
0
Fork 0
mirror of https://codeberg.org/icewind/haze.git synced 2026-06-03 09:04:12 +02:00

add appDirectories to hm module

This commit is contained in:
Robin Appelman 2026-03-06 00:15:35 +01:00
commit 1a6dd90410

View file

@ -9,6 +9,7 @@ with lib; let
format = pkgs.formats.toml {}; format = pkgs.formats.toml {};
configFile = format.generate "haze.toml" ({ configFile = format.generate "haze.toml" ({
sources_root = cfg.sourcesRoot; sources_root = cfg.sourcesRoot;
app_directories = cfg.appDirectories;
work_dir = cfg.workDir; work_dir = cfg.workDir;
auto_setup = { auto_setup = {
enabled = cfg.autoSetup.enable; enabled = cfg.autoSetup.enable;
@ -61,6 +62,12 @@ in {
description = "Directory to store instance data"; description = "Directory to store instance data";
}; };
appDirectories = mkOption {
type = types.listOf types.str;
default = [];
description = "Paths to additional app directories";
};
autoSetup = mkOption { autoSetup = mkOption {
type = types.submodule { type = types.submodule {
options = { options = {