feat: Add hosts file entries for systems
This commit is contained in:
parent
362f724166
commit
041fda2136
|
@ -89,7 +89,20 @@
|
|||
};
|
||||
useUserPackages = true;
|
||||
};
|
||||
networking.networkmanager.unmanaged = [ "tailscale0" ];
|
||||
networking = {
|
||||
hosts = lib.concatMapAttrs (hostname: address:
|
||||
if hostname == config.networking.hostName then
|
||||
{ }
|
||||
else {
|
||||
${address} = [ hostname ];
|
||||
}) {
|
||||
akame = "100.76.94.126";
|
||||
asui = "100.75.42.142";
|
||||
ryuko = "100.113.1.60";
|
||||
shinobu = "100.111.168.15";
|
||||
};
|
||||
networkmanager.unmanaged = [ "tailscale0" ];
|
||||
};
|
||||
nix = {
|
||||
nixPath =
|
||||
[ "nixpkgs=${inputs.nixpkgs}" "home-manager=${inputs.home-manager}" ];
|
||||
|
|
Loading…
Reference in a new issue