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:
@@ -0,0 +1,14 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Common settings for all hosts in the sample environment
|
||||
# This file is imported by all host configurations (servers and workstations)
|
||||
|
||||
# TODO: Move common settings here later
|
||||
# Examples:
|
||||
# - Common users/groups
|
||||
# - Common packages
|
||||
# - Common services
|
||||
# - Common security policies
|
||||
# - Common monitoring/alerting
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Common settings for all servers in the sample environment
|
||||
# This file is imported by all server configurations
|
||||
|
||||
# TODO: Move common server settings here later
|
||||
# Examples:
|
||||
# - Server-specific users/groups
|
||||
# - Server-specific packages
|
||||
# - Server-specific services
|
||||
# - Server-specific security policies
|
||||
# - Server-specific monitoring/alerting
|
||||
# - Locale: en_US.UTF-8 (for servers)
|
||||
}
|
||||
@@ -0,0 +1,15 @@
|
||||
{ config, pkgs, lib, ... }:
|
||||
|
||||
{
|
||||
# Common settings for all workstations in the sample environment
|
||||
# This file is imported by all workstation configurations
|
||||
|
||||
# TODO: Move common workstation settings here later
|
||||
# Examples:
|
||||
# - Workstation-specific users/groups
|
||||
# - Workstation-specific packages
|
||||
# - Workstation-specific services
|
||||
# - Workstation-specific security policies
|
||||
# - Workstation-specific monitoring/alerting
|
||||
# - Locale: fr_FR.UTF-8 (for workstations)
|
||||
}
|
||||
Reference in New Issue
Block a user