migrate: stow → chezmoi
- restructure repo to chezmoi conventions (dot_ prefix, private_dot_ssh/) - add nvim config (was untracked) - encrypt restic pass.txt with age - remove stow artifacts (.stow-local-ignore, stow package dirs) - update bootstrap.sh to use chezmoi apply - remove runtime files from tracking (micro buffers, zed backup)
This commit is contained in:
@@ -0,0 +1,114 @@
|
||||
# --- Контроль версий ---
|
||||
.git/
|
||||
.gitignore
|
||||
.hg/
|
||||
.svn/
|
||||
.fossil/
|
||||
|
||||
# --- Кэши пакетов и зависимостей ---
|
||||
.cache/pip/
|
||||
.cache/npm/
|
||||
.yarn/cache/
|
||||
.cargo/registry/
|
||||
~/.gradle/
|
||||
~/.m2/
|
||||
|
||||
# --- Зависимости (самое тяжелое) ---
|
||||
venv/
|
||||
.venv/
|
||||
env/
|
||||
node_modules/
|
||||
vendor/
|
||||
target/
|
||||
bin/
|
||||
obj/
|
||||
.gradle/
|
||||
.bundle/
|
||||
site-packages/
|
||||
|
||||
# --- Python ---
|
||||
__pycache__/
|
||||
*.py[cod]
|
||||
*$py.class
|
||||
.pytest_cache/
|
||||
.mypy_cache/
|
||||
.hypothesis/
|
||||
.tox/
|
||||
.coverage/
|
||||
htmlcov/
|
||||
|
||||
# --- Ruby ---
|
||||
.rakeTasks
|
||||
InstalledFiles
|
||||
pkg/
|
||||
spec/reports/
|
||||
test/tmp/
|
||||
*.gem
|
||||
.ruby-version
|
||||
|
||||
# --- JavaScript / Node.js ---
|
||||
.npm/
|
||||
.eslintcache
|
||||
.parcel-cache/
|
||||
.next/
|
||||
.nuxt/
|
||||
dist/
|
||||
build/
|
||||
|
||||
# --- Go ---
|
||||
vendor/
|
||||
*.o
|
||||
*.a
|
||||
|
||||
# --- Rust ---
|
||||
target/
|
||||
Cargo.lock
|
||||
|
||||
# --- Java ---
|
||||
*.class
|
||||
*.jar
|
||||
target/
|
||||
|
||||
# --- Системный мусор и IDE ---
|
||||
.DS_Store
|
||||
Thumbs.db
|
||||
.idea/
|
||||
.vscode/
|
||||
*.sublime-project
|
||||
*.sublime-workspace
|
||||
.eclipse/
|
||||
.gradle/
|
||||
.mvn/
|
||||
|
||||
# --- Логи и временные файлы ---
|
||||
*.log
|
||||
*.tmp
|
||||
*.bak
|
||||
*.swp
|
||||
*.swo
|
||||
*~
|
||||
.sass-cache/
|
||||
.cache/
|
||||
tmp/
|
||||
temp/
|
||||
|
||||
# --- Системные каталоги ---
|
||||
.Trash-*/
|
||||
.trash/
|
||||
lost+found/
|
||||
|
||||
# --- Браузеры и интернет ---
|
||||
.mozilla/
|
||||
.cache/google-chrome/
|
||||
.cache/chromium/
|
||||
|
||||
# --- Виртуальные машины ---
|
||||
.vagrant/
|
||||
VirtualBox VMs/
|
||||
|
||||
# --- Прочее ---
|
||||
.git/history
|
||||
.git/refs/
|
||||
*.lock
|
||||
.env.local
|
||||
.env.*.local
|
||||
@@ -0,0 +1,5 @@
|
||||
age-encryption.org/v1
|
||||
-> X25519 EIZIyjM8GxEL7eAtSebeqD+0Byf+OOAYNJjPIhQ51BY
|
||||
gYWk1Emv5NbIZOGEWRAcJBSkMEROUeLTEEYDd9KxuAg
|
||||
--- Dk6oyb1AYDJCOa38S3bj1Q06t9AZe1FYfeAJypQWNwI
|
||||
gë—¨øJ£$Yz±6®-bƒ\¦™.ÿx™‰[~HBºAÔÔ`¾é‘iEƒ8Š:£
|
||||
@@ -0,0 +1,122 @@
|
||||
groups:
|
||||
all:
|
||||
- projects
|
||||
- projects-local
|
||||
- vaults
|
||||
- vaults-local
|
||||
- files
|
||||
- files-local
|
||||
- pictures
|
||||
- pictures-local
|
||||
schedule: "0 * * * *"
|
||||
|
||||
projects:
|
||||
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Projects"
|
||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||
backup:
|
||||
source:
|
||||
- /home/ada/Documents/Projects
|
||||
schedule: "*-*-* 20:30:00" # каждый час в 15 минут
|
||||
forget:
|
||||
keep-last: 24
|
||||
keep-daily: 14
|
||||
keep-monthly: 3
|
||||
exclude:
|
||||
- "**/.git"
|
||||
- "**/node_modules"
|
||||
- "**/.venv"
|
||||
- "**/target"
|
||||
|
||||
# Локальное зеркало projects
|
||||
projects-local:
|
||||
repository: "rclone:home-smb:backup/backups/ada-x1/Documents/Projects"
|
||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||
backup:
|
||||
source:
|
||||
- /home/ada/Documents/Projects
|
||||
forget:
|
||||
keep-last: 24
|
||||
keep-daily: 14
|
||||
keep-monthly: 3
|
||||
exclude:
|
||||
- "**/.git"
|
||||
- "**/node_modules"
|
||||
- "**/.venv"
|
||||
- "**/target"
|
||||
|
||||
# Важные данные
|
||||
vaults:
|
||||
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Vaults"
|
||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||
backup:
|
||||
source:
|
||||
- /home/ada/Documents/Vaults
|
||||
schedule: "*-*-* 20:30:00"
|
||||
forget:
|
||||
keep-last: 12
|
||||
keep-daily: 7
|
||||
keep-monthly: 12
|
||||
|
||||
# Локальное зеркало vaults
|
||||
vaults-local:
|
||||
repository: "rclone:home-smb:backup/backups/ada-x1/Documents/Vaults"
|
||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||
backup:
|
||||
source:
|
||||
- /home/ada/Documents/Vaults
|
||||
forget:
|
||||
keep-last: 12
|
||||
keep-daily: 7
|
||||
keep-monthly: 12
|
||||
|
||||
# Документы
|
||||
files:
|
||||
repository: "rclone:yadisk:System/Backups/ada-x1/Documents/Files"
|
||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||
backup:
|
||||
source:
|
||||
- /home/ada/Documents/Files
|
||||
schedule: "*-*-* 20:30:00" # 02:15 каждый день
|
||||
forget:
|
||||
keep-daily: 30
|
||||
keep-weekly: 12
|
||||
keep-yearly: 1
|
||||
|
||||
# Локальное зеркало files
|
||||
files-local:
|
||||
repository: "rclone:home-smb:backup/backups/ada-x1/Documents/Files"
|
||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||
backup:
|
||||
source:
|
||||
- /home/ada/Documents/Files
|
||||
forget:
|
||||
keep-daily: 30
|
||||
keep-weekly: 12
|
||||
keep-yearly: 1
|
||||
|
||||
# Фотографии и видео
|
||||
pictures:
|
||||
repository: "rclone:yadisk:System/Backups/ada-x1/Pictures"
|
||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||
backup:
|
||||
source:
|
||||
- /home/ada/Pictures
|
||||
schedule: "*-*-* 20:30:00" # 03:30 каждый день
|
||||
forget:
|
||||
keep-daily: 14
|
||||
keep-weekly: 8
|
||||
keep-monthly: 12
|
||||
keep-yearly: 2
|
||||
|
||||
# Локальное зеркало pictures
|
||||
pictures-local:
|
||||
repository: "rclone:home-smb:backup/backups/ada-x1/Pictures"
|
||||
password-file: "/home/ada/.config/resticprofile/pass.txt"
|
||||
backup:
|
||||
source:
|
||||
- /home/ada/Pictures
|
||||
forget:
|
||||
keep-daily: 14
|
||||
keep-weekly: 8
|
||||
keep-monthly: 12
|
||||
keep-yearly: 2
|
||||
Reference in New Issue
Block a user