2 Commits

Author SHA1 Message Date
xavier d07661561b refactor: move host-specific settings to hosts directory
- Move defaultNameServers from network/dns.nix to hosts/servers/default.nix and hosts/workstations/default.nix
- Move SMTP configuration from network/smtp.nix to hosts/servers/default.nix and hosts/workstations/default.nix
- Move proxy configuration from network/proxy.nix to hosts/servers/default.nix and hosts/workstations/default.nix
- Move NTP servers from network/time.nix to hosts/default.nix
- Remove network/proxy.nix and network/smtp.nix (host-specific settings don't belong in network/)
- Update network/default.nix to only import dns.nix and time.nix

This refactoring separates environment-specific network parameters (domain, timezone)
from host-specific settings (DNS servers, SMTP, proxy, NTP servers), making the
configuration more logical and maintainable.
2026-05-11 14:46:33 +02:00
xavier 8e22e05d2b feat: update sample environment to match nixos-infra structure
- Add network/dns.nix, network/time.nix, network/proxy.nix, network/smtp.nix
- Add network/default.nix to import all network files
- Add hosts/default.nix, hosts/servers/default.nix, hosts/workstations/default.nix
- These placeholders match the structure in nixos-infra for consistency

The sample environment now reflects the same organization as production,
dev, and stage environments, making it easier to use as a reference.
2026-05-11 12:11:15 +02:00