diff --git a/hosts/Ratchet/hardware-Ratchet.nix b/hosts/Ratchet/hardware-Ratchet.nix index 19d27f7..cddf7db 100644 --- a/hosts/Ratchet/hardware-Ratchet.nix +++ b/hosts/Ratchet/hardware-Ratchet.nix @@ -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..useDHCP`. networking.useDHCP = lib.mkDefault true; + networking.hostName = "Ratchet"; # networking.interfaces.wlp1s0.useDHCP = lib.mkDefault true; nixpkgs.hostPlatform = lib.mkDefault "x86_64-linux"; diff --git a/hosts/generic/configuration_generic.nix b/hosts/generic/configuration_generic.nix index 9000f76..18a9627 100644 --- a/hosts/generic/configuration_generic.nix +++ b/hosts/generic/configuration_generic.nix @@ -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" ];