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.
This commit is contained in:
2026-05-11 12:11:15 +02:00
parent d165d2c583
commit 8e22e05d2b
8 changed files with 126 additions and 0 deletions
+21
View File
@@ -0,0 +1,21 @@
{ config, pkgs, lib, ... }:
{
# Sample DNS configuration for the sample environment
domain = "sample.lagraula.fr";
# Default DNS servers for this environment
defaultNameServers = [ "10.40.128.10" ];
# Forwarders for this environment
forwarders = [ "1.1.1.1" "8.8.8.8" ];
# Allow zone transfers (none in sample)
allowZoneTransfer = [ ];
# Recursion policy
recursion = "AllowOnlyForPrivateNetworks";
# Email for Let's Encrypt
letsEncryptEmail = "xavier@lagraula.fr";
}