mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-08-31 07:17:13 +02:00
feat(desktop): enable the firewall on desktop machines
Signed-off-by: Ryan Yin <xiaoyin_c@qq.com>
This commit is contained in:
@@ -21,9 +21,7 @@ in
|
||||
services.sunshine.enable = lib.mkForce false;
|
||||
services.tuned.ppdSettings.main.default = lib.mkForce "power-saver";
|
||||
|
||||
# This laptop joins untrusted networks and the firewall is disabled
|
||||
# (modules/nixos/base/ssh.nix), so a 0.0.0.0:9100 node-exporter would be exposed
|
||||
# to whatever network it is on. It is no longer scraped anyway - disable it.
|
||||
# Laptop joins untrusted networks and is no longer scraped; don't expose :9100.
|
||||
services.prometheus.exporters.node.enable = lib.mkForce false;
|
||||
|
||||
networking = {
|
||||
|
||||
Reference in New Issue
Block a user