Added hosts and hostname for Ratchet
This commit is contained in:
@@ -48,6 +48,7 @@
|
||||
# still possible to use this option, but it's recommended to use it in conjunction
|
||||
# with explicit per-interface declarations with `networking.interfaces.<interface>.useDHCP`.
|
||||
networking.useDHCP = lib.mkDefault true;
|
||||
networking.hostName = "Ratchet";
|
||||
# networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true;
|
||||
|
||||
nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux";
|
||||
|
||||
@@ -30,6 +30,11 @@
|
||||
networking.firewall.allowedTCPPorts = [ 22 38401 ];
|
||||
networking.firewall.allowedUDPPorts = [ 38401 ];
|
||||
networking.nftables.enable = true;
|
||||
networking.hosts = {
|
||||
"192.168.1.116" = [ "Clank" ];
|
||||
"192.168.1.222" = [ "Aphelion" ];
|
||||
"192.168.1.94" = [ "Qwark" ];
|
||||
};
|
||||
|
||||
# locales
|
||||
i18n.extraLocales = [ "en_US.UTF-8/UTF-8" "C.UTF-8/UTF-8" "ru_RU.UTF-8/UTF-8" ];
|
||||
|
||||
Reference in New Issue
Block a user