35 lines
1.0 KiB
Nix
35 lines
1.0 KiB
Nix
{ config, pkgs, lib, ... }:
|
|
|
|
let
|
|
# Import environment-specific network parameters
|
|
env = import ../../../../network { };
|
|
in {
|
|
# Common settings for all workstations in the production environment
|
|
# This file is imported by all workstation configurations
|
|
|
|
# Default DNS servers for this environment
|
|
environment.dnsServers = [ "10.40.128.10" "10.40.128.11" ];
|
|
|
|
# SMTP relay configuration
|
|
services.postfix = {
|
|
enable = true;
|
|
relayHost = "smtp.lagraula.fr";
|
|
relayPort = 587;
|
|
useTLS = true;
|
|
fromAddress = "noreply@prod.lagraula.fr";
|
|
};
|
|
|
|
# Proxy configuration for workstations (none for now)
|
|
environment.systemPackages = with pkgs; [ ];
|
|
|
|
# Locale for workstations (French)
|
|
i18n.defaultLocale = "fr_FR.UTF-8";
|
|
|
|
# TODO: Move other common workstation settings here later
|
|
# Examples:
|
|
# - Workstation-specific users/groups
|
|
# - Workstation-specific packages
|
|
# - Workstation-specific services
|
|
# - Workstation-specific security policies
|
|
# - Workstation-specific monitoring/alerting
|
|
} |