Start with a basic configuration file
This commit is contained in:
parent
2e5ede21cb
commit
bec6cc8c58
2 changed files with 41 additions and 36 deletions
|
@ -1,40 +1,5 @@
|
|||
# dashinit Configuration File
|
||||
|
||||
[general]
|
||||
# Where to download templates from
|
||||
template_repo = "https://gitpot.dev/dashinit/templates"
|
||||
|
||||
# The default template to be used when initialising
|
||||
default_template = "default"
|
||||
|
||||
[templates]
|
||||
# Allow user scripts to be executed
|
||||
allow_scripts = false
|
||||
|
||||
# If allow_scripts is set to false, these scripts will still be executable
|
||||
script_whitelist = [
|
||||
"default/default.sh"
|
||||
# "template/script.sh",
|
||||
# "~/.local/share/dashinit/scripts/script.sh" # full paths are also possible
|
||||
]
|
||||
|
||||
[updates]
|
||||
# Check for updates periodically. Disabled by default
|
||||
check = false
|
||||
|
||||
# Frequency to check for updates. (daily, weekly, monthly)
|
||||
# If an unrecognized value is provided, it defaults to 'weekly'
|
||||
frequency = "weekly"
|
||||
|
||||
[logs]
|
||||
# Whether logs are enabled or not
|
||||
enabled = false
|
||||
|
||||
# Specify log level (info, warning, error, debug)
|
||||
level = "info"
|
||||
|
||||
# Where the logs should be stored
|
||||
path = "~/.local/share/dashinit/logs"
|
||||
|
||||
# Maximum log size in MB before a new log gets created
|
||||
max_size = 10
|
||||
default_template = "default"
|
40
src/resources/config.toml.new
Normal file
40
src/resources/config.toml.new
Normal file
|
@ -0,0 +1,40 @@
|
|||
# dashinit Configuration File
|
||||
|
||||
[general]
|
||||
# Where to download templates from
|
||||
template_repo = "https://gitpot.dev/dashinit/templates"
|
||||
|
||||
# The default template to be used when initialising
|
||||
default_template = "default"
|
||||
|
||||
[templates]
|
||||
# Allow user scripts to be executed
|
||||
allow_scripts = false
|
||||
|
||||
# If allow_scripts is set to false, these scripts will still be executable
|
||||
script_whitelist = [
|
||||
"default/default.sh"
|
||||
# "template/script.sh",
|
||||
# "~/.local/share/dashinit/scripts/script.sh" # full paths are also possible
|
||||
]
|
||||
|
||||
[updates]
|
||||
# Check for updates periodically. Disabled by default
|
||||
check = false
|
||||
|
||||
# Frequency to check for updates. (daily, weekly, monthly)
|
||||
# If an unrecognized value is provided, it defaults to 'weekly'
|
||||
frequency = "weekly"
|
||||
|
||||
[logs]
|
||||
# Whether logs are enabled or not
|
||||
enabled = false
|
||||
|
||||
# Specify log level (info, warning, error, debug)
|
||||
level = "info"
|
||||
|
||||
# Where the logs should be stored
|
||||
path = "~/.local/share/dashinit/logs"
|
||||
|
||||
# Maximum log size in MB before a new log gets created
|
||||
max_size = 10
|
Loading…
Reference in a new issue