How ryan4yin/nix-config works
This repository is a personal Nix flake configuration for NixOS desktops and servers, plus macOS desktops. The main workflow is to select a configured host, compose its system and shared Home Manager settings into a flake output, then deploy that output. The README also documents server VMs, a K3s test cluster, self-hosted services, secrets, and application hardening. The graph follows those documented boundaries; implementation excerpts for the flake and host modules were not provided, so internal composition links are marked unverified.
Main entry points: hosts Host Configurations · outputs Flake Outputs · base Shared Home Config · nixos NixOS Modules
Components 14
System Configuration
- Host Configurations
hosts - NixOS Modules
modules/nixos - Darwin Modules
modules/darwin
User Environments
- Shared Home Config
home/base - Linux Home Config
home/linux - macOS Home Config
home/darwin - Host Home Settings
home/hosts
Services and Security
- Homelab Services
hosts/12kingdoms-youko/homelab-services - Application Hardening
hardening - Secret Configuration
secrets
Flake and Deployment
- Flake Outputs
outputs - System Deployment
Other components
- System Maintainer
- Private Secrets Repo
Connections 12
- System Maintainer → Host Configurations: chooses host
README.md - Host Configurations → Flake Outputs: composed as outputs
- NixOS Modules → Flake Outputs: included in outputs
- Darwin Modules → Flake Outputs: included in outputs
- Shared Home Config → Linux Home Config: shared with
README.md - Shared Home Config → macOS Home Config: shared with
README.md - Host Home Settings → Shared Home Config: customizes hosts
- Homelab Services → Host Configurations: configures server
README.md - Application Hardening → Host Configurations: hardens systems
README.md - Private Secrets Repo → Secret Configuration: supplies secrets
README.md - System Maintainer → System Deployment: deploys flake
README.md - Flake Outputs → System Deployment: selects configuration
README.md