mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-01-25 06:32:08 +00:00
26 lines
528 B
Nix
26 lines
528 B
Nix
{
|
|
lib,
|
|
pkgs,
|
|
config,
|
|
inputs,
|
|
...
|
|
}: {
|
|
imports = [
|
|
./hardware-configuration.nix
|
|
../../modules/odroid-m1-setleds.nix
|
|
../../modules/odroid-m1.nix
|
|
../../modules/keepalived.nix
|
|
];
|
|
|
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
|
networking.hostName = "odroid7";
|
|
networking.interfaces.end0.ipv4.addresses = [
|
|
{
|
|
address = "192.168.4.227";
|
|
prefixLength = 22;
|
|
}
|
|
];
|
|
|
|
networking.defaultGateway = "192.168.4.1";
|
|
networking.nameservers = ["192.168.4.250" "192.168.4.1" "8.8.8.8"];}
|