This commit is contained in:
2025-07-03 15:52:30 +00:00
parent 4f279de5fb
commit cc6860ec69
4 changed files with 66 additions and 2 deletions

24
hosts/opti1/default.nix Normal file
View File

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