feat: initial infra repo
- docker-services: 14 generic compose templates (portainer, npm, vaultwarden, gitea, jotty, nextcloud-aio, rustdesk, audiobookshelf, calibre-web, plex, erugo, jswiki, speedtest, watchtower) - install-scripts: bash scripts for Ubuntu server bootstrap, docker, portainer, npm, backup, restore - ansible: 4 playbooks (bootstrap, deploy-services, update-services, security-hardening) + roles skeleton - hermes-install: Hermes CLI setup on macOS - macos-setup: Brewfile + osx-defaults + fish-config - home-nas-tools: metadata index for NAS projects (no binaries) - docs: architecture, security, contributing - README, LICENSE (MIT), .gitignore
This commit is contained in:
@@ -0,0 +1,85 @@
|
||||
# 🍎 macOS Setup
|
||||
|
||||
> Automatizovaná instalace a konfigurace macOS workstation.
|
||||
|
||||
## 📦 Obsah
|
||||
|
||||
| Soubor | Účel |
|
||||
|---|---|
|
||||
| [`Brewfile`](Brewfile) | Všechny nainstalované CLI/GUI aplikace (Homebrew Bundle) |
|
||||
| [`install-brew.sh`](install-brew.sh) | Instaluje Homebrew (pokud chybí) |
|
||||
| [`configure-fish.sh`](configure-fish.sh) | Nastaví Fish shell s aliasy |
|
||||
| [`osx-defaults.sh`](osx-defaults.sh) | macOS výchozí nastavení (Finder, Dock, klávesnice) |
|
||||
| [`README.md`](README.md) | Tento soubor |
|
||||
|
||||
## 🚀 Quickstart (nový Mac)
|
||||
|
||||
```bash
|
||||
# 1. Instalace Homebrew (pokud chybí)
|
||||
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
|
||||
|
||||
# 2. Instalace všech aplikací
|
||||
brew bundle --file=Brewfile
|
||||
|
||||
# 3. macOS výchozí nastavení (Finder, Dock, ...)
|
||||
bash osx-defaults.sh
|
||||
|
||||
# 4. Fish shell s aliasy
|
||||
bash configure-fish.sh
|
||||
```
|
||||
|
||||
## 🔧 Fish aliasy
|
||||
|
||||
`configure-fish.sh` nastaví tyto aliasy (viz skript):
|
||||
|
||||
| Alias | Příkaz |
|
||||
|---|---|
|
||||
| `update` | `brew update && brew upgrade` |
|
||||
| `ll` | `eza -la` |
|
||||
| `cat` | `bat` |
|
||||
| `find` | `fd` |
|
||||
| `top` | `btop` |
|
||||
| `g` | `git` |
|
||||
| `k` | `kubectl` |
|
||||
| `d` | `docker` |
|
||||
| `dc` | `docker compose` |
|
||||
|
||||
## ⚙️ macOS Defaults
|
||||
|
||||
`osx-defaults.sh` nastaví:
|
||||
|
||||
- **Finder:** zobrazit skryté soubory, všechny přípony, cestu k aktuálnímu adresáři
|
||||
- **Dock:** auto-hide, rychlejší animace
|
||||
- **Keyboard:** rychlejší opakování kláves
|
||||
- **Trackpad:** rychlejší tracking
|
||||
- **Safari:** vývojářské nástroje
|
||||
|
||||
## 🔐 Bezpečnost
|
||||
|
||||
- **FileVault** – povolit (v System Settings → Privacy & Security)
|
||||
- **Firewall** – povolit (v System Settings → Network → Firewall)
|
||||
- **XProtect** – default zapnutý
|
||||
- **Gatekeeper** – default `App Store a identified developers`
|
||||
|
||||
## 📚 Apple ekosystém
|
||||
|
||||
- **iCloud** – dokumenty, plocha, fotografie
|
||||
- **Handoff** – pokračovat na iOS/iPadOS
|
||||
- **Universal Clipboard**
|
||||
- **Sidecar** – iPad jako druhá obrazovka
|
||||
|
||||
## 🔄 Aktualizace
|
||||
|
||||
```bash
|
||||
# Homebrew
|
||||
brew update && brew upgrade && brew cleanup
|
||||
|
||||
# macOS
|
||||
System Settings → Software Update
|
||||
```
|
||||
|
||||
## 📚 Dokumentace
|
||||
|
||||
- [Homebrew](https://brew.sh/)
|
||||
- [Brewfile](https://github.com/Homebrew/homebrew-bundle)
|
||||
- [macOS defaults](https://macos-defaults.com/)
|
||||
Reference in New Issue
Block a user