Created a central place for all common options to all hosts.
This commit is contained in:
@@ -8,14 +8,14 @@ in {
|
||||
# This file is imported by all host configurations (servers and workstations)
|
||||
|
||||
# NTP servers for this environment
|
||||
services.ntp.servers = [
|
||||
environment.ntpServers = [
|
||||
"10.10.128.1" # IPv4 gateway
|
||||
"fd00::1" # IPv6 gateway
|
||||
];
|
||||
|
||||
# Time settings from network configuration
|
||||
time.timeZone = env.time.timeZone;
|
||||
time.hardwareClock = env.time.hardwareClock;
|
||||
environment.timeZone = env.time.timeZone;
|
||||
environment.hardwareClock = env.time.hardwareClock;
|
||||
|
||||
# TODO: Move other common settings here later
|
||||
# Examples:
|
||||
|
||||
@@ -8,7 +8,7 @@ in {
|
||||
# This file is imported by all server configurations
|
||||
|
||||
# Default DNS servers for this environment
|
||||
networking.nameServers = [ "10.40.128.10" "10.40.128.11" ];
|
||||
environment.dnsServers = [ "10.40.128.10" "10.40.128.11" ];
|
||||
|
||||
# SMTP relay configuration
|
||||
services.postfix = {
|
||||
|
||||
@@ -22,5 +22,4 @@
|
||||
listenAddresses = [ "10.0.0.10" "127.0.0.1" "::1" ];
|
||||
};
|
||||
|
||||
system.stateVersion = "25.11";
|
||||
}
|
||||
}
|
||||
|
||||
@@ -8,7 +8,7 @@ in {
|
||||
# This file is imported by all workstation configurations
|
||||
|
||||
# Default DNS servers for this environment
|
||||
networking.nameServers = [ "10.40.128.10" "10.40.128.11" ];
|
||||
environment.dnsServers = [ "10.40.128.10" "10.40.128.11" ];
|
||||
|
||||
# SMTP relay configuration
|
||||
services.postfix = {
|
||||
|
||||
Reference in New Issue
Block a user