Files

28 lines
750 B
Nix

{ config, pkgs, lib, ... }:
let
# Import environment-specific network parameters
env = import ../../network { };
in {
# Common settings for all hosts in the sample environment
# This file is imported by all host configurations (servers and workstations)
# NTP servers for this environment
environment.ntpServers = [
"10.10.128.1" # IPv4 gateway
"fd00::1" # IPv6 gateway
];
# Time settings from network configuration
environment.timeZone = env.time.timeZone;
environment.hardwareClock = env.time.hardwareClock;
# TODO: Move other common settings here later
# Examples:
# - Common users/groups
# - Common packages
# - Common services
# - Common security policies
# - Common monitoring/alerting
}