No description
- Nix 94.5%
- Just 3.1%
- Shell 2.4%
|
All checks were successful
CI/CD Pipeline / Validate, Lint & Test (push) Successful in 2m33s
|
||
|---|---|---|
| .forgejo/workflows | ||
| assets | ||
| docs | ||
| home | ||
| hosts | ||
| nixos | ||
| npins | ||
| overlays | ||
| packages | ||
| scripts | ||
| secrets | ||
| vars | ||
| .envrc | ||
| .fdignore | ||
| .gitattributes | ||
| .gitignore | ||
| .markdownlint.json | ||
| CLAUDE.md | ||
| configuration.nix | ||
| Justfile | ||
| README.md | ||
| renovate.json | ||
| shell.nix | ||
| statix.toml | ||
nix-skwrls
NixOS configurations for all my systems.
Repository Structure
Core Files
configuration.nix- Main entry point with system buildersshell.nix- Development environmentnpins/- Pinned dependencies (nixpkgs, home-manager, sops-nix, etc.)
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 overlayssecrets/- SOPS-nix encrypted secretsvars/- Shared variables (user, home, email)
Quick Start
Set up the repo
git clone git@github.com:your-username/nixos-skwrls.git
cd nixos-skwrls
# install lix
just lix
nix-shell
Add the machine to secrets
cd secrets
direnv allow .
just get-host-key
vim .sops.yaml
just update
just rotate
cd ..
Apply configuration
just switch
Commands
Run just --list for all commands. Key ones:
| Command | Description |
|---|---|
just switch |
Build and apply configuration |
just check |
Lint + validate config |
just test |
Full validation with dry-run builds |
just fmt |
Format all code |
just deps-update |
Update all dependencies |
just deps-update nixpkgs |
Update single dependency |