nixos-combined-flake/modules/nixos/base/network/default.nix

11 lines
144 B
Nix

{ config, lib, pkgs, vars, ... }:
let
inherit (vars) hostName;
in
{
networking = {
inherit hostName;
firewall.enable = true;
};
}