No description
- Nix 94.1%
- Just 3.2%
- Shell 2.7%
Reviewed-on: #69 Co-authored-by: Renovate Bot <renovate@onlyhavecans.works> Co-committed-by: Renovate Bot <renovate@onlyhavecans.works> |
||
|---|---|---|
| .forgejo/workflows | ||
| assets | ||
| docs | ||
| home | ||
| hosts | ||
| nixos | ||
| overlays | ||
| packages | ||
| scripts | ||
| secrets | ||
| vars | ||
| .envrc | ||
| .gitattributes | ||
| .gitignore | ||
| .markdownlint.json | ||
| CLAUDE.md | ||
| flake.lock | ||
| flake.nix | ||
| Justfile | ||
| README.md | ||
| renovate.json | ||
| shell.nix | ||
nix-skwrls
NixOS configurations for all my systems.
Repository Structure
Core Files
flake.nix- Main flake definition with system buildersshell.nix- Development environment
Configuration Organization
hosts/- Machine-specific configurations (each host directly imports needed modules)home/- Shared home-manager configurationsnixos/- Shared NixOS module configurations (core, backups, audio, gaming, streaming, syncthing, work, etc.)
Supporting Files
packages/- Custom package definitionsoverlays/- Nixpkgs overlays (applied via flake.nix)secrets/- SOPS-nix encrypted secretsvars/- Shared variables (user, home, email)
Quick Start
Set up the repo and your directory
git clone git@github.com:your-username/nixos-skwrls.git
cd nixos-skwrls
# install lix
just lix
nix develop
Add the machine to secrets
cd secrets
direnv allow .
just get-host-key
vim .sops.yaml
just update
just rotate
cd ..
Converge box
cd ..
just switch
Thanks and References
These are other repos and resources that influenced and helped this a lot. In no particular order: