add odroid5

This commit is contained in:
2023-11-20 18:02:07 +00:00
parent 4f1cc85e6d
commit b2f80d42dc
2 changed files with 57 additions and 0 deletions

21
hosts/odroid5/default.nix Normal file
View File

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