mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-02-06 20:42:27 +00:00
fix odroid7 and 6
This commit is contained in:
23
hosts/odroid6/default.nix
Normal file
23
hosts/odroid6/default.nix
Normal file
@@ -0,0 +1,23 @@
|
||||
{
|
||||
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"];
|
||||
}
|
||||
Reference in New Issue
Block a user