-
Notifications
You must be signed in to change notification settings - Fork 1
/
seten.template.conf
166 lines (130 loc) · 5.64 KB
/
seten.template.conf
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
# Seten settings
# https://github.com/MestreLion/seten
#
# Read (sourced) by bash scripts, so keep compatible shell syntax
#
# This template will be copied to ~/.config/seten/seten.conf by install.sh,
# unless told otherwise by bootstrap.sh, SETEN_CONFIG or XDG_CONFIG_HOME
#
# All of the (non-array) settings below, if blank or missing, might also be set
# as environmental variables.
#
# NOTE: currently environmental vars DO NOT OVERRIDE values set here! Keep them
# blank or commented out if you want to be able to override them!
# =============================================================================
# Settings for the setup engine itself
# -----------------------------------------------------------------------------
# Settings meant for customization
# Extra repositories to be added by install.sh
SETUP_REPOSITORIES=(
# universe
# multiverse
)
# Extra packages to be installed by install.sh
SETUP_PACKAGES=(
# git-restore-mtime # Very useful git tool. Also a blatant self-promotion
)
# -----------------------------------------------------------------------------
# General settings, used by both install.sh and setup scripts
# The default should be fine for most use cases
# Seten basename
# At install time, used as dirname and basename for the default config file,
# install path and executable file.
# At run time, used as prefix/suffix in backup file names and such.
# Pro Tip: change to 'setup' and have fun using `setup gedit` to setup gedit :)
#SETUP_SLUG=seten
# Name used in '# Added by ...' comments in edited config files
#SETUP_NAME='Seten'
# Set to 0 for reduced (but not completely silent) output. Blank defaults to 1!
#SETUP_VERBOSE=1
# May be used by setup scripts to print additional debug messages
#SETUP_DEBUG=0
# At install time, triggers EDITOR for editing the config file if it is created
# from this template.
# Also may used by setup scripts when displaying a confirmation or input prompt
# Setting to 0 skips such prompts automatically selecting the default choice.
#SETUP_INTERACTIVE=1
# Dry-run (test mode). If 1, many commands such as apt install, gsettings set
# and dconf write/load will be printed (echoed) instead of executed.
# NOTE: This is an experimental feature, meant for script developers to test a
# script syntax and logic before publishing it. This is NOT meant for users to
# prevent any changes to a system, and there is absolutely NO guarantee of that!
#SETUP_DRYRUN=0
# Some setup scripts may allow actions on behalf of another user.
# Currently unused. Defaults to current user
#SETUP_USER=${USER:-}
# Current user's Full Name, by default taken from the GECOS field in /etc/passwd
#SETUP_USERNAME=
# Supporting libs directory absolute path, if they're installed outside the
# seten root directory. Defaults to SETUP_DIR/lib
#SETUP_LIBS_DIR=
# -----------------------------------------------------------------------------
# Bootstrap settings, only used by bootstrap.sh and meant only for pre-made
# config files to specify a custom install settings prior to running bootstrap
# Most likely should NOT be changed, this is just for corner-case scenarios
# Repository URL to clone from and update the install directory
#SETUP_REPO='https://github.com/MestreLion/seten.git'
# Install directory absolute path
# All other tools, including install.sh, use their currently installed path.
# Defaults to XDG_DATA_HOME/SETUP_SLUG, by default ~/.local/share/seten
#SETUP_DIR=
# =============================================================================
# Setup scripts specific settings
# How to handle errors in a setup script when multiple scripts are ran in batch
# by the main executable: 'abort' or 'continue'.
#SETUP_BATCH_ERROR=abort
# -----------------------------------------------------------------------------
# symlink-userdirs
# Target base directory for special user directories, usually the mount point
# of a data partition. By default the user directories are not symlinked
#SETUP_USERDIRS_TARGET=
# Target overrides for each special user directory, either absolute or relative
# to SETUP_USERDIRS_TARGET. By default the target basename is the same as the
# source, i.e., its relative path to $HOME.
# It MUST be an associative array declared as global!
declare -gA SETUP_USERDIRS_OVERRIDES=(
# [DOCUMENTS]='My Documents'
# [DOWNLOAD]='Downloads'
# [MUSIC]='My Music'
# [PICTURES]='My Pictures'
# [VIDEOS]='Movies'
)
# Special user directories to be hidden in File Managers (via .hidden file)
SETUP_USERDIRS_HIDE=(
PUBLICSHARE
TEMPLATES
)
# -----------------------------------------------------------------------------
# Nautilus
# Columns to include and remove in list view
SETUP_NAUTILUS_INCLUDE=(
'type'
'date_modified_with_time'
)
SETUP_NAUTILUS_REMOVE=(
'date_modified'
)
# -----------------------------------------------------------------------------
# SSH Server
#SETUP_SSH_PORT=22
#SETUP_SSH_AUTH_PUBKEYS=(
# ...
#)
# -----------------------------------------------------------------------------
# PHP FPM
# Packages to install corresponding PHP modules
# Modules needed to access Databases from PHP, such as php-{mysql,pgsql,sqlite3}
# are automatically included if the corresponding database is installed
SETUP_PHP_MODULES=(
php-curl
)
# -----------------------------------------------------------------------------
# Firefox
# Extra Language pack to install
#SETUP_FIREFOX_L10N=pt-br
# =============================================================================
# Config hooks - Paths are relative to this config file path
# Source additional config files and *.conf files in directories, recursively
include-config conf.d
# Source sensitive settings (passwords, API tokens) stored somewhere else
#include-config /path/to/seten-sensitive.conf