Files
nix-config/modules/nixos/server/server.nix
T
2026-11-01 20:53:41 +08:00

16 lines
470 B
Nix

{ ... }:
{
imports = [
../base
../../base
];
# RAPL is a local side channel, so exposure is opt-in and scoped to the
# server role. Desktops keep the kernel-default root-only energy_uj.
modules.powerMonitoring.enable = true;
# Servers used to keep the firewall off, trusting the router alone. They now
# run the shared base firewall (modules/nixos/base/networking/firewall.nix)
# like every other host, as defence in depth behind the router.
}