Start with a basic configuration file

This commit is contained in:
Sangelo 2023-10-06 14:58:02 +02:00
parent 2e5ede21cb
commit bec6cc8c58
2 changed files with 41 additions and 36 deletions

View file

@ -1,40 +1,5 @@
# dashinit Configuration File # dashinit Configuration File
[general] [general]
# Where to download templates from
template_repo = "https://gitpot.dev/dashinit/templates"
# The default template to be used when initialising # The default template to be used when initialising
default_template = "default" 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

View 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