No description
| common | ||
| home-manager | ||
| hosts | ||
| modules | ||
| overlays | ||
| pkgs | ||
| secrets | ||
| wallpapers | ||
| .envrc | ||
| .gitignore | ||
| .profile | ||
| .sops.yaml | ||
| build_all.sh | ||
| flake.lock | ||
| flake.nix | ||
| nixpkgs.nix | ||
| README.md | ||
| shell.nix | ||
❄️ NixOS Configurations
This repository contains my declarative and fully reproducible system configurations using Nix flakes. It manages multiple machines—including laptops, desktops, and servers—using both NixOS and Home Manager.
🧱 Structure
This flake manages:
- 🖥️ Desktop (NixOS + Home Manager)
- 💻 Laptop (NixOS + Home Manager)
- 🗄️ Servers (headless NixOS deployments)
- 👤 User environments (via Home Manager, on both NixOS and non-NixOS systems)
Key Directories
hosts/– Per-machine NixOS configurations (e.g.,candlekeep.nix,grymforge.nix)home-manager/– User-specific Home Manager modules and machines etc.)flake.nix/flake.lock– Flake definition and dependency pinning
🚀 Getting Started
Requirements
nixwith flakes enabled- Optional: home-manager and direnv
Bootstrap a New Machine
nix run github:yourusername/nixos-configurations#your-hostname
Or, if you're already inside the repo:
sudo nixos-rebuild switch --flake .#your-hostname
Update All Machines
nix flake update
git commit -am "flake: update"
You can also run automated rebuilds and deployments using tools like:
🔐 Secrets
Secrets are managed via:
- sops-nix
- Encrypted with age
- Stored in
.sops.yamlandsecrets/directory
💡 Features
- Flake-based multi-machine setup
- Home Manager integrated per-user config
- Declarative hardware profiles
- Secure secret management with sops-nix
- Support for remote servers and local workstations.
📝 Hosts
| Hostname | Role | Description |
|---|---|---|
candlekeep |
Laptop | Hyprland, Kitty, Zsh, Neovim |
grymforge |
Main Workstation | Hyprland, Kitty, Zsh, Neovim |
seikan |
Reverse Proxy Server | Cloud Server, Traefik, Zerotier |
waypoint |
Reverse Proxy Server | Traefik, Zerotier |
panopticon |
Log Server | Loki, Promtail, Grafana |
vault-tec |
Nix Cache Server | Attic |
🔄 Workflow
- Edit your configs (in
hosts/,home/, ormodules/) - Rebuild locally or deploy remotely
- Commit and push to Git
- (Optional) CI/CD runs remote rebuilds