about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--flake.lockbin5848 -> 6306 bytes
-rw-r--r--flake.nix5
-rw-r--r--hosts/configuration.nix5
3 files changed, 7 insertions, 3 deletions
diff --git a/flake.lock b/flake.lock
index 3d2b026..4d3ecc3 100644
--- a/flake.lock
+++ b/flake.lock
Binary files differdiff --git a/flake.nix b/flake.nix
index 30b3784..0599000 100644
--- a/flake.nix
+++ b/flake.nix
@@ -22,6 +22,11 @@
 
     nix-index.url = "github:Mic92/nix-index-database";
 
+    hosts = {
+      url = "github:StevenBlack/hosts";
+      flake = false;
+    };
+
     wallpapers = {
       url = "github:Baitinq/Wallpapers";
       flake = false;
diff --git a/hosts/configuration.nix b/hosts/configuration.nix
index ec000b0..7f312ab 100644
--- a/hosts/configuration.nix
+++ b/hosts/configuration.nix
@@ -33,13 +33,12 @@
     tmpOnTmpfs = true;
   };
 
-  # Set your time zone.
   time.timeZone = timezone;
 
   networking = {
-    hostName = hostname; # Define your hostname.
+    hostName = hostname;
     enableIPv6 = true;
-    extraHosts = builtins.readFile "${dotfiles}/hosts";
+    extraHosts = builtins.readFile "${inputs.hosts}/hosts";
     dhcpcd.enable = true;
     resolvconf.enable = true;
     nameservers = [ "127.0.0.1" ];