Loading...
Loading...
Navigate the nix-config repository layout and find files
npx skill4agent add daracci/nix-config project-structureflake.nix # Top-level flake definitions
flake/
dev/ # Development shell, CI scripts, formatting
ci/ # CI-specific flake and scripts
home-manager/ # Home-Manager flake module
nixos/ # NixOS flake module
modules/ # Reusable module fragments
home-manager/ # Home-Manager specific modules
nixos/ # NixOS specific modules
lib/ # Shared Nix functions and helpers
builders/ # System and home builders (mkSystem, mkHome)
overlays/ # Nixpkgs overlays
pkgs/ # Custom packages and package sets
hosts/ # Per-machine NixOS configurations
shared/
global/ # Applied to ALL hosts
optional/ # Optional features (gaming, containers, etc.)
desktop/ # Desktop machines
shared/ # Shared across all desktops
<machine>/ # Machine-specific config
laptop/ # Laptop machines
shared/
server/ # Server machines
shared/
<machine>/
home/ # User-specific Home-Manager configurations
shared/ # Shared across all users
global/ # Applied to all users
applications/ # Application configs
desktop/ # Desktop environment configs
features/ # Feature modules (cli, etc.)
<user>/ # User-specific configs
<machine>.nix # Machine-specific overrides
os-config.nix # OS config applied to all machines
hm-config.nix # Home-Manager entry point
docs/ # Project documentation| File | Purpose |
|---|---|
| Flake inputs and outputs |
| Locked input versions |
| SOPS encryption rules |
| NixOS state version |
| Host system builder |
| Home configuration builder |
| NixOS module exports |
| Home-Manager module exports |
| Custom package registry |
| Overlay definitions |
hosts/<type>/<hostname>/default.nixhome/<username>/hm-config.nixhome/<username>/<hostname>.nixmodules/nixos/<category>/<name>.nixmodules/home-manager/<category>/<name>.nixpkgs/<package-name>/default.nixhosts/<type>/<hostname>/secrets.yamlhome/<user>/secrets.yaml