summary refs log tree commit diff stats
path: root/modules
diff options
context:
space:
mode:
Diffstat (limited to 'modules')
-rw-r--r--modules/base.nix8
1 files changed, 8 insertions, 0 deletions
diff --git a/modules/base.nix b/modules/base.nix
new file mode 100644
index 00000000..acf773e0
--- /dev/null
+++ b/modules/base.nix
@@ -0,0 +1,8 @@
+{ config, pkgs, ... }:
+
+{
+  networking.extraHosts = ''
+    127.0.0.1 ${config.networking.hostName}
+    ::1 ${config.networking.hostName}
+  '';
+}