Fix shiro device classification
Some checks failed
Flake checker / Build Nix targets (push) Has been cancelled

- Correct shiro from MacBook to Mac Mini desktop classification
- Move shiro from portable to workstation category in documentation
- Update device architecture details with Mac Mini specific features
- Highlight shiro's role as ARM64 build server and desktop machine
- Update D2 diagram to reflect correct device categorization
- Regenerate diagram with corrected classifications
This commit is contained in:
uttarayan21
2025-08-17 01:58:06 +05:30
parent 9fee6c1f05
commit c3af9e2b24
4 changed files with 153 additions and 146 deletions

View File

@@ -67,6 +67,17 @@ This document provides a comprehensive overview of all devices managed by this N
- Secure boot with Lanzaboote - Secure boot with Lanzaboote
- TPM2 support - TPM2 support
#### shiro (Mac Mini)
- **Architecture**: aarch64-darwin (Apple Silicon)
- **User**: servius
- **Role**: macOS desktop and build server
- **Configuration**: nix-darwin + Home Manager
- **Features**:
- ARM64 build server for distributed builds
- Samba file sharing
- Colima container runtime
- Aerospace window management
### 📱 Portable/Mobile Devices ### 📱 Portable/Mobile Devices
#### kuro (MacBook) #### kuro (MacBook)
@@ -79,12 +90,6 @@ This document provides a comprehensive overview of all devices managed by this N
- Custom keyboard mappings - Custom keyboard mappings
- Homebrew integration - Homebrew integration
#### shiro (MacBook)
- **Architecture**: aarch64-darwin (Apple Silicon)
- **User**: servius
- **Role**: Secondary macOS machine
- **Configuration**: nix-darwin + Home Manager
#### SteamDeck (Gaming Handheld) #### SteamDeck (Gaming Handheld)
- **Architecture**: x86_64-linux - **Architecture**: x86_64-linux
- **User**: deck - **User**: deck
@@ -166,10 +171,11 @@ kuro → mirai, shiro
- **Containers**: Docker with custom mount points - **Containers**: Docker with custom mount points
- **Emulation**: aarch64-linux binfmt support - **Emulation**: aarch64-linux binfmt support
### macOS Devices (kuro, shiro) ### macOS Devices (kuro - MacBook, shiro - Mac Mini)
- **Authentication**: Touch ID integration - **Authentication**: Touch ID integration (kuro)
- **Keyboard**: Custom modifier key mappings - **Keyboard**: Custom modifier key mappings
- **Package management**: Homebrew + Nix hybrid approach - **Package management**: Homebrew + Nix hybrid approach
- **Build server**: shiro provides ARM64 builds for the network
## Security Features ## Security Features

View File

@@ -8,7 +8,7 @@ This repository manages **7 devices** across multiple platforms and architecture
- **3 Servers**: mirai (main), deoxys (VM), tsuba (Raspberry Pi) - **3 Servers**: mirai (main), deoxys (VM), tsuba (Raspberry Pi)
- **1 Workstation**: ryu (primary desktop) - **1 Workstation**: ryu (primary desktop)
- **3 Portable devices**: kuro & shiro (MacBooks), SteamDeck - **3 Portable devices**: kuro (MacBook), SteamDeck, and 1 desktop Mac Mini (shiro)
> 📈 **Visual Architecture**: See [Device Architecture Diagram](assets/devices-diagram.svg) for a complete visual overview. > 📈 **Visual Architecture**: See [Device Architecture Diagram](assets/devices-diagram.svg) for a complete visual overview.
@@ -25,12 +25,12 @@ This repository manages **7 devices** across multiple platforms and architecture
| Device | Architecture | Setup | Features | | Device | Architecture | Setup | Features |
|--------|-------------|-------|----------| |--------|-------------|-------|----------|
| **ryu** | x86_64-linux | Main Desktop | Hyprland+GNOME, 3-monitor setup, gaming, audio production | | **ryu** | x86_64-linux | Main Desktop | Hyprland+GNOME, 3-monitor setup, gaming, audio production |
| **shiro** | aarch64-darwin | Mac Mini Desktop | nix-darwin + Home Manager, build server |
### Portable Devices ### Portable Devices
| Device | Architecture | Platform | Configuration | | Device | Architecture | Platform | Configuration |
|--------|-------------|----------|---------------| |--------|-------------|----------|---------------|
| **kuro** | aarch64-darwin | macOS | nix-darwin + Home Manager | | **kuro** | aarch64-darwin | MacBook | nix-darwin + Home Manager |
| **shiro** | aarch64-darwin | macOS | nix-darwin + Home Manager |
| **SteamDeck** | x86_64-linux | SteamOS | Home Manager only | | **SteamDeck** | x86_64-linux | SteamOS | Home Manager only |
## 🚀 Quick Start ## 🚀 Quick Start
@@ -160,11 +160,12 @@ just home
## 📱 Portable Configuration ## 📱 Portable Configuration
### macOS Features (kuro, shiro) ### macOS Features (kuro - MacBook, shiro - Mac Mini)
- **Touch ID**: Sudo authentication integration - **Touch ID**: Sudo authentication integration (kuro)
- **Keyboard remapping**: Custom modifier key layouts - **Keyboard remapping**: Custom modifier key layouts
- **Aerospace/Yabai**: Tiling window management - **Aerospace/Yabai**: Tiling window management
- **Homebrew**: Package management for macOS-specific applications - **Homebrew**: Package management for macOS-specific applications
- **Build server**: shiro serves as ARM64 build machine
### SteamDeck Integration ### SteamDeck Integration
- **Home Manager**: User environment without system changes - **Home Manager**: User environment without system changes

View File

@@ -66,6 +66,12 @@ workstations: Development Workstations {
} }
} }
} }
shiro: shiro {
shape: rectangle
style.fill: "#9ca3af"
label: "shiro\nMac Mini Desktop\naarch64-darwin\nUser: servius\nBuild Server"
}
} }
mobile: Portable Devices { mobile: Portable Devices {
@@ -79,12 +85,6 @@ mobile: Portable Devices {
label: "kuro\nMacBook\naarch64-darwin\nUser: fs0c131y" label: "kuro\nMacBook\naarch64-darwin\nUser: fs0c131y"
} }
shiro: shiro {
shape: rectangle
style.fill: "#9ca3af"
label: "shiro\nMacBook\naarch64-darwin\nUser: servius"
}
deck: SteamDeck { deck: SteamDeck {
shape: rectangle shape: rectangle
style.fill: "#ef4444" style.fill: "#ef4444"
@@ -170,7 +170,7 @@ mobile.kuro -> servers.mirai: SSH Deploy {
style.stroke-width: 2 style.stroke-width: 2
} }
mobile.kuro -> mobile.shiro: SSH Deploy { mobile.kuro -> workstations.shiro: SSH Deploy {
style.stroke: "#7c3aed" style.stroke: "#7c3aed"
style.stroke-width: 2 style.stroke-width: 2
} }
@@ -194,7 +194,7 @@ workstations.ryu -> network.zerotier
workstations.ryu -> builders: Uses distributed builds workstations.ryu -> builders: Uses distributed builds
mobile.kuro -> builders: Uses distributed builds mobile.kuro -> builders: Uses distributed builds
servers.mirai -> builders: Build server servers.mirai -> builders: Build server
mobile.shiro -> builders: Build server workstations.shiro -> builders: Build server
# Configuration connections # Configuration connections
config_mgmt.nixos_flake -> servers.mirai config_mgmt.nixos_flake -> servers.mirai
@@ -203,7 +203,7 @@ config_mgmt.nixos_flake -> servers.tsuba
config_mgmt.nixos_flake -> workstations.ryu config_mgmt.nixos_flake -> workstations.ryu
config_mgmt.darwin -> mobile.kuro config_mgmt.darwin -> mobile.kuro
config_mgmt.darwin -> mobile.shiro config_mgmt.darwin -> workstations.shiro
config_mgmt.home_manager -> mobile.deck config_mgmt.home_manager -> mobile.deck

File diff suppressed because one or more lines are too long

Before

Width:  |  Height:  |  Size: 64 KiB

After

Width:  |  Height:  |  Size: 66 KiB