-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconfig.example.ps1
More file actions
120 lines (91 loc) · 3.38 KB
/
config.example.ps1
File metadata and controls
120 lines (91 loc) · 3.38 KB
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
# User Configuration Template
# Copy this to 'config.local.ps1' and customize for your system
# config.local.ps1 is gitignored - your settings stay private
<#
.SYNOPSIS
User-specific configuration for Windows partition scripts
.NOTES
This template shows all configurable parameters.
Copy to 'config.local.ps1' and modify values.
#>
# ============================================
# DISK CONFIGURATION
# ============================================
# Target disk number (check with: Get-Disk | Format-Table)
$DISK_NUMBER = 1
# Expected disk size (GB) - for safety verification
$EXPECTED_DISK_SIZE = 1800
# Disk description (for confirmation prompts)
$DISK_DESCRIPTION = "1.8TB Seagate FireCuda External HDD"
# ============================================
# PARTITION SIZES (GB)
# ============================================
# Adjust these based on your needs
# Total should not exceed disk size minus ~50GB overhead
$PARTITION_CONFIG = @{
GamesUniversal = 900 # Shared Steam library (NTFS)
ClaudeAI = 500 # LLM models, datasets (ext4)
Development = 200 # Distrobox, repos (ext4)
WindowsOnly = 150 # Anti-cheat games (NTFS)
Transfer = 0 # Use remaining space (exFAT)
}
# ============================================
# DRIVE LETTER ASSIGNMENTS
# ============================================
$DRIVE_LETTERS = @{
GamesUniversal = "H"
ClaudeAI = "I"
Development = "L"
WindowsOnly = "K"
Transfer = "J"
}
# ============================================
# OUTPUT CONFIGURATION
# ============================================
# Where to save handover documents
$HANDOVER_DIR = "$env:USERPROFILE\Desktop"
# Alternative: Save to archive directory (gitignored)
# $HANDOVER_DIR = "$PSScriptRoot\.archive"
# Include disk serial numbers in handover docs (privacy concern)
$INCLUDE_SERIAL_NUMBERS = $false
# Include full error stack traces in handover docs
$VERBOSE_ERRORS = $true
# ============================================
# SAFETY SETTINGS
# ============================================
# Require explicit confirmation before wiping disk
$REQUIRE_WIPE_CONFIRMATION = $true
# Confirmation phrase (must be typed exactly)
$WIPE_CONFIRMATION_PHRASE = "WIPE DISK $DISK_NUMBER"
# Allow wiping of system/boot disks (DANGEROUS - keep false)
$ALLOW_SYSTEM_DISK_WIPE = $false
# Minimum disk size for safety check (GB)
$MIN_DISK_SIZE = 1700
# Maximum disk size for safety check (GB)
# Set to 0 to disable
$MAX_DISK_SIZE = 2000
# ============================================
# ADVANCED OPTIONS
# ============================================
# Wait time after format before write test (seconds)
$FORMAT_WAIT_TIME = 2
# Retry count for failed operations
$MAX_RETRIES = 3
# Enable PowerShell transcript logging
$ENABLE_TRANSCRIPT = $false
# Transcript log directory
$TRANSCRIPT_DIR = "$PSScriptRoot\.archive\logs"
# ============================================
# USAGE EXAMPLE
# ============================================
<#
# In your scripts, source this config:
# Check if user config exists
if (Test-Path "$PSScriptRoot\config.local.ps1") {
. "$PSScriptRoot\config.local.ps1"
Write-Host "✓ Loaded user configuration" -ForegroundColor Green
} else {
Write-Host "⚠️ No config.local.ps1 found - using defaults" -ForegroundColor Yellow
Write-Host " Copy config.example.ps1 to config.local.ps1 to customize" -ForegroundColor Gray
}
#>