Add new machine Sheol.
This commit is contained in:
parent
4da68279f4
commit
0b1b8b6acb
9 changed files with 246 additions and 0 deletions
28
machines/Sheol/configuration.nix
Normal file
28
machines/Sheol/configuration.nix
Normal file
|
@ -0,0 +1,28 @@
|
|||
{...}: {
|
||||
services = {
|
||||
avahi = {
|
||||
enable = true;
|
||||
openFirewall = true;
|
||||
publish = {
|
||||
enable = true;
|
||||
workstation = true;
|
||||
userServices = true;
|
||||
};
|
||||
};
|
||||
cron.enable = false;
|
||||
};
|
||||
# udp5353 1024-65535
|
||||
|
||||
networking.firewall = let
|
||||
range = {
|
||||
from = 1024;
|
||||
to = 65535;
|
||||
};
|
||||
in {
|
||||
allowedUDPPorts = [ 5353 ];
|
||||
allowedUDPPortRanges = [ range ];
|
||||
allowedTCPPortRanges = [ range ];
|
||||
};
|
||||
networking.dhcpcd.extraConfig = "noarp";
|
||||
system.stateVersion = "24.05";
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue