
- Move network-congenital-optimist.nix to machines/congenital-optimist/ - Move network-sleeper-service.nix to machines/sleeper-service/ - Update import paths in machine configurations - Clean up modules/network/common.nix to remove SSH duplication - Consolidate SSH configuration in modules/security/ssh-keys.nix - Remove machine-specific networking from shared common module This improves dependency tracking by co-locating machine-specific network configurations with their respective machines.
25 lines
No EOL
649 B
Nix
25 lines
No EOL
649 B
Nix
# Common Network Configuration
|
|
# Minimal shared networking settings across all machines
|
|
{ config, pkgs, ... }:
|
|
|
|
{
|
|
# Common networking settings
|
|
networking = {
|
|
# Enable nftables by default for all machines
|
|
nftables.enable = true;
|
|
|
|
# Basic firewall settings (SSH handled by security/ssh-keys.nix)
|
|
firewall = {
|
|
enable = true;
|
|
# SSH port is configured in modules/security/ssh-keys.nix
|
|
};
|
|
};
|
|
|
|
# Common services available on all machines
|
|
services = {
|
|
# Tailscale VPN for secure remote access
|
|
tailscale.enable = true;
|
|
|
|
# Note: SSH configuration is handled by modules/security/ssh-keys.nix
|
|
};
|
|
} |