flake: cleanup and add hostname definition
This commit is contained in:
parent
2e6cf2c456
commit
0ccba9602d
5 changed files with 20 additions and 26 deletions
|
|
@ -1,4 +1,4 @@
|
|||
{ hostName, inputs, config, lib, pkgs, ... }:
|
||||
{ inputs, config, lib, pkgs, ... }:
|
||||
|
||||
{
|
||||
imports = [
|
||||
|
|
@ -60,14 +60,11 @@
|
|||
|
||||
services.zfs.autoScrub.enable = true;
|
||||
|
||||
networking = {
|
||||
hostName = "${hostName}";
|
||||
firewall = lib.mkForce {
|
||||
allowedTCPPorts = [];
|
||||
allowedTCPPortRanges = [];
|
||||
allowedUDPPorts = [];
|
||||
allowedUDPPortRanges = [];
|
||||
};
|
||||
networking.firewall = lib.mkForce {
|
||||
allowedTCPPorts = [];
|
||||
allowedTCPPortRanges = [];
|
||||
allowedUDPPorts = [];
|
||||
allowedUDPPortRanges = [];
|
||||
};
|
||||
|
||||
# for cloudflare browser ssh
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue