From 68abfb922f0276fe2d6f4a04953d8bbec5b8e874 Mon Sep 17 00:00:00 2001 From: Paul-Henri Froidmont Date: Mon, 6 Jul 2020 16:03:10 +0200 Subject: [PATCH] Add hosts to hostfile --- configs/network.nix | 6 ++++++ hosts/work-laptop/configuration.nix | 1 + 2 files changed, 7 insertions(+) create mode 100644 configs/network.nix diff --git a/configs/network.nix b/configs/network.nix new file mode 100644 index 0000000..54a37c6 --- /dev/null +++ b/configs/network.nix @@ -0,0 +1,6 @@ +{ config, lib, pkgs, ... }: +{ + networking.hosts = { + "127.0.0.1" = [ "localhost" "local.ted.europa.eu" ]; + }; +} diff --git a/hosts/work-laptop/configuration.nix b/hosts/work-laptop/configuration.nix index 8e7f267..0718d77 100644 --- a/hosts/work-laptop/configuration.nix +++ b/hosts/work-laptop/configuration.nix @@ -3,6 +3,7 @@ imports = [ ./hardware-configuration.nix ../../configs/system.nix + ../../configs/network.nix ../../configs/user.nix ../../configs/dev.nix ../../configs/virtualisation.nix