aboutsummaryrefslogtreecommitdiff
path: root/nixos/custom-hosts.nix
diff options
context:
space:
mode:
Diffstat (limited to 'nixos/custom-hosts.nix')
-rw-r--r--nixos/custom-hosts.nix13
1 files changed, 13 insertions, 0 deletions
diff --git a/nixos/custom-hosts.nix b/nixos/custom-hosts.nix
new file mode 100644
index 0000000..942bc4f
--- /dev/null
+++ b/nixos/custom-hosts.nix
@@ -0,0 +1,13 @@
+{
+ config,
+ lib,
+ pkgs,
+ ...
+}: {
+ networking.extraHosts = ''
+ # home IP mapping
+
+ 192.168.2.1 router.home
+ 192.168.2.2 server.home
+ '';
+}