mirror of
https://codeberg.org/icewind/haze.git
synced 2026-06-03 17:14:08 +02:00
add appDirectories to hm module
This commit is contained in:
parent
9629dea8df
commit
1a6dd90410
1 changed files with 7 additions and 0 deletions
|
|
@ -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 = {
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue