Gen 402: created system config for my laptop
This commit is contained in:
15
glasshouse-laptop/sys/network.nix
Normal file
15
glasshouse-laptop/sys/network.nix
Normal file
@@ -0,0 +1,15 @@
|
||||
{ pkgs, ... }:
|
||||
|
||||
{
|
||||
networking = {
|
||||
networkmanager.enable = true;
|
||||
hostName = "glasshaus";
|
||||
hosts = {
|
||||
"192.168.1.163" = [ "glasshaus.info" ];
|
||||
};
|
||||
firewall = {
|
||||
enable = true;
|
||||
allowedTCPPorts = [ 30000 ];
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user