fix odroid7 and 6

This commit is contained in:
2023-11-21 19:03:56 +00:00
parent 3198e5f107
commit 657b053b14
4 changed files with 118 additions and 0 deletions

23
hosts/odroid7/default.nix Normal file
View File

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