all repos — archive/nixos-configuration @ 375725cc27d35349cd2d4d2dcab87ee43de065ef

Superseded by nixfiles

Add hostname to /etc/hosts

Alan Pearce
commit

375725cc27d35349cd2d4d2dcab87ee43de065ef

parent

64ed5e8642a2ea66937e328d5ce9bc22b38055ff

2 files changed, 9 insertions(+), 0 deletions(-)

jump to
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.nixsatoshipad.nix
@@ -3,6 +3,7 @@
{ imports = [ ./hardware-configuration.nix + ./modules/base.nix ./modules/grub2.nix ./modules/laptop.nix ./modules/thinkpad.nix