Add hostname to /etc/hosts
Alan Pearce alan@alanpearce.eu
Fri, 22 Sep 2017 13:31:10 +0200
2 files changed, 9 insertions(+), 0 deletions(-)
A modules/base.nix
@@ -0,0 +1,8 @@+{ config, pkgs, ... }: + +{ + networking.extraHosts = '' + 127.0.0.1 ${config.networking.hostName} + ::1 ${config.networking.hostName} + ''; +}
M satoshipad.nix → satoshipad.nix
@@ -3,6 +3,7 @@ { imports = [ ./hardware-configuration.nix + ./modules/base.nix ./modules/grub2.nix ./modules/laptop.nix ./modules/thinkpad.nix