Files
nixos-cluster/hosts/odroid6/default.nix
2023-11-21 19:03:56 +00:00

24 lines
410 B
Nix

{
lib,
pkgs,
config,
inputs,
...
}: {
imports = [
./hardware-configuration.nix
];
nixpkgs.hostPlatform.system = "aarch64-linux";
networking.hostName = "odroid6";
networking.interfaces.end0.ipv4.addresses = [
{
address = "192.168.1.226";
prefixLength = 24;
}
];
networking.defaultGateway = "192.168.1.1";
networking.nameservers = ["192.168.1.1" "8.8.8.8"];
}