forked from lukas/nixos-config
- Replace hardcoded domain references with ${config.domain} variables
- Add variables-local.nix for personal domain overrides (git-ignored)
- Update variables.nix with example.com defaults for shareability
- Fix module function signatures to properly access config parameter
- Add smart import system for optional local overrides in globalServices
- Update home-manager shared modules to include domain variables
- Create CLAUDE.md documentation for the configuration
🤖 Generated with [Claude Code](https://claude.ai/code)
Co-Authored-By: Claude <noreply@anthropic.com>
16 lines
318 B
Nix
16 lines
318 B
Nix
let
|
|
optionalLocalVars = let
|
|
localPath = ../../variables-local.nix;
|
|
in if builtins.pathExists localPath then [ localPath ] else [ ];
|
|
in
|
|
{
|
|
imports = [
|
|
./packages.nix
|
|
# ./docker.nix
|
|
./sshd.nix
|
|
./secretFiles.nix
|
|
./security.nix
|
|
./zsh.nix
|
|
../../variables.nix
|
|
] ++ optionalLocalVars;
|
|
}
|