|
1 | 1 | # Local configuration for init_mac (NOT COMMITTED) |
2 | 2 | # Copy this file to .env.local and adapt the paths |
3 | 3 |
|
4 | | -# Path to the synchronized folder (OneDrive, Synology Drive, Dropbox, etc.) |
| 4 | +# Path to the synchronized drive root (OneDrive, Synology Drive, Dropbox, etc.) |
| 5 | +# The shared Ok Computer data will live in SYNC_DIR/ok_computer_shared/. |
| 6 | +# Used by dotfiles.sh and by the app's manual dotfiles actions. |
| 7 | +# This does not install any cron job and does not auto-sync by itself. |
| 8 | +# TYPE: path |
5 | 9 | # Examples: |
6 | | -# SYNC_DIR="$HOME/OneDrive/dotfiles" |
7 | | -# SYNC_DIR="$HOME/SynologyDrive/dotfiles" |
8 | | -# SYNC_DIR="$HOME/Dropbox/dotfiles" |
| 10 | +# SYNC_DIR="$HOME/OneDrive" |
| 11 | +# SYNC_DIR="$HOME/SynologyDrive" |
| 12 | +# SYNC_DIR="$HOME/Dropbox" |
9 | 13 | SYNC_DIR="" |
10 | 14 |
|
11 | | -# Path to your custom synchronized packages.conf (optional) |
| 15 | +# Path to your custom synchronized packages.conf directory (optional) |
| 16 | +# If unset and SYNC_DIR is configured, the shared default becomes: |
| 17 | +# SYNC_DIR/ok_computer_shared/packages.conf |
| 18 | +# TYPE: path (optional) |
12 | 19 | # If set, this file will be used instead of src/packages.conf.example |
13 | 20 | # Examples: |
14 | | -# PACKAGES_CONF_DIR="$HOME/OneDrive/ok_computer" |
15 | | -# PACKAGES_CONF_DIR="$HOME/SynologyDrive/ok_computer" |
| 21 | +# PACKAGES_CONF_DIR="$HOME/OneDrive/ok_computer_shared" |
| 22 | +# PACKAGES_CONF_DIR="$HOME/SynologyDrive/ok_computer_shared" |
16 | 23 | PACKAGES_CONF_DIR="" |
17 | 24 |
|
18 | 25 | # Path to the synchronized Obsidian vault (optional) |
| 26 | +# TYPE: path (optional) |
19 | 27 | # Examples: |
20 | 28 | # OBSIDIAN_VAULT="$HOME/OneDrive/Obsidian" |
21 | 29 | # OBSIDIAN_VAULT="$HOME/SynologyDrive/Obsidian" |
22 | 30 | OBSIDIAN_VAULT="" |
23 | 31 |
|
24 | 32 | # Path to synchronized VS Code settings (optional) |
| 33 | +# TYPE: path (optional) |
25 | 34 | # Examples: |
26 | 35 | # VSCODE_CONFIG="$HOME/OneDrive/VSCode" |
27 | 36 | # VSCODE_CONFIG="$HOME/SynologyDrive/VSCode" |
28 | 37 | VSCODE_CONFIG="" |
29 | 38 |
|
30 | | -# Storage type (optional, for logs) |
31 | | -# SYNC_TYPE="onedrive" |
32 | | -SYNC_TYPE="" |
33 | | - |
34 | | -# Enable dotfiles synchronization (true/false) |
| 39 | +# Enable the dotfiles feature in the app. |
| 40 | +# Dotfiles synchronization remains manual: Init, Setup, Sync and Restore are user-triggered. |
| 41 | +# No automatic cron is installed for dotfiles. |
| 42 | +# TYPE: boolean (true/false) |
35 | 43 | ENABLE_DOTFILES_SYNC=false |
36 | 44 |
|
| 45 | +# Preferred dotfiles workflow in the app. |
| 46 | +# TYPE: enum(drive, zip) |
| 47 | +# drive: use SYNC_DIR/ok_computer_shared as the shared folder and run dotfiles actions manually |
| 48 | +# zip: use export/import ZIP snapshots for migration or backup |
| 49 | +DOTFILES_SYNC_MODE="drive" |
| 50 | + |
37 | 51 | # Wi-Fi from KeePassXC (optional) |
| 52 | +# WIFI_KDBX_DB: TYPE: path to .kdbx file (optional) |
| 53 | +# WIFI_KDBX_GROUP: TYPE: string — KeePassXC group name (optional) |
| 54 | +# WIFI_KDBX_KEY_FILE: TYPE: path — keyfile for the vault (optional) |
| 55 | +# WIFI_KDBX_ASK_PASS: TYPE: boolean/int — 1 to prompt for password interactively |
38 | 56 | # Example: WIFI_KDBX_DB="$HOME/OneDrive/vaults/wifi.kdbx" |
39 | | -# Optional: WIFI_KDBX_GROUP="Wi-Fi" (group name in the vault) |
40 | | -# Optional: WIFI_KDBX_KEY_FILE="/path/to/keyfile" (if vault uses a keyfile) |
41 | | -# Optional: WIFI_KDBX_DRY_RUN=1 to simulate without applying |
42 | | -# Optional: WIFI_KDBX_ASK_PASS=1 to force interactive password prompt (do not store secrets in env) |
43 | 57 | WIFI_KDBX_DB="" |
44 | 58 | WIFI_KDBX_GROUP="Wifi" |
45 | 59 | WIFI_KDBX_KEY_FILE="" |
46 | | -WIFI_KDBX_DRY_RUN=0 |
47 | 60 | WIFI_KDBX_ASK_PASS=1 |
48 | 61 |
|
49 | 62 | # Automatic update schedule (24-hour) |
| 63 | +# TYPE: number (ranges documented) |
50 | 64 | # AUTO_UPDATE_HOUR: hour in 0-23 (default 21) |
51 | 65 | # AUTO_UPDATE_MINUTE: minute in 0-59 (default 0) |
52 | 66 | # Example: AUTO_UPDATE_HOUR=21 |
53 | 67 | # AUTO_UPDATE_MINUTE=30 |
54 | 68 | AUTO_UPDATE_HOUR=21 |
55 | 69 | AUTO_UPDATE_MINUTE=0 |
56 | 70 |
|
| 71 | +# In-app update activation (cross-platform) |
| 72 | +# TYPE: boolean |
| 73 | +# AUTO_UPDATE_ENABLED: true/false |
| 74 | +# Note: update execution is driven by a system cron job managed by the app. |
| 75 | +AUTO_UPDATE_ENABLED=false |
| 76 | + |
0 commit comments