nixos-config/nixos/custom-hosts.nix

9 lines
127 B
Nix

{ ...
}: {
networking.extraHosts = ''
# home IP mapping
192.168.2.1 router.home
192.168.2.2 server.home
'';
}