diff options
-rw-r--r-- | modules/base.nix | 8 | ||||
-rw-r--r-- | satoshipad.nix | 1 |
2 files changed, 9 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} + ''; +} diff --git a/satoshipad.nix b/satoshipad.nix index d4d0bc2c..6393c497 100644 --- a/satoshipad.nix +++ b/satoshipad.nix @@ -3,6 +3,7 @@ { imports = [ ./hardware-configuration.nix + ./modules/base.nix ./modules/grub2.nix ./modules/laptop.nix ./modules/thinkpad.nix |