diff options
author | Baitinq <manuelpalenzuelamerino@gmail.com> | 2023-02-05 02:48:10 +0100 |
---|---|---|
committer | Baitinq <manuelpalenzuelamerino@gmail.com> | 2023-02-05 12:00:27 +0100 |
commit | 799b2cd63e39e8a5c264739460f1c96fa05010b1 (patch) | |
tree | b1a980cf97a4f2fbe2ab9a956433d1430f44dce5 /hosts/configuration.nix | |
parent | Hosts: Use flake nixpkgs as system nixpkgs in nix-* cmds (diff) | |
download | nixos-config-799b2cd63e39e8a5c264739460f1c96fa05010b1.tar.gz nixos-config-799b2cd63e39e8a5c264739460f1c96fa05010b1.tar.bz2 nixos-config-799b2cd63e39e8a5c264739460f1c96fa05010b1.zip |
Hosts: Use /etc/hosts from flake input
Diffstat (limited to 'hosts/configuration.nix')
-rw-r--r-- | hosts/configuration.nix | 5 |
1 files changed, 2 insertions, 3 deletions
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" ]; |