This commit is contained in:
2025-07-03 16:25:27 +00:00
parent cc6860ec69
commit 00c61a2730
6 changed files with 15 additions and 5 deletions

View File

@@ -7,6 +7,8 @@
}: {
imports = [
./hardware-configuration.nix
./odroid-m1-setleds.nix
./odroid-m1.nix
];
nixpkgs.hostPlatform.system = "aarch64-linux";

View File

@@ -7,6 +7,8 @@
}: {
imports = [
./hardware-configuration.nix
./odroid-m1-setleds.nix
./odroid-m1.nix
];
nixpkgs.hostPlatform.system = "aarch64-linux";

View File

@@ -7,6 +7,8 @@
}: {
imports = [
./hardware-configuration.nix
./odroid-m1-setleds.nix
./odroid-m1.nix
];
nixpkgs.hostPlatform.system = "aarch64-linux";

View File

@@ -7,6 +7,8 @@
}: {
imports = [
./hardware-configuration.nix
./odroid-m1-setleds.nix
./odroid-m1.nix
];
nixpkgs.hostPlatform.system = "aarch64-linux";

View File

@@ -9,16 +9,20 @@
./hardware-configuration.nix
];
nixpkgs.hostPlatform.system = "aarch64-linux";
networking.hostName = "odroid8";
nixpkgs.hostPlatform.system = "x86_64-linux";
networking.hostName = "opti1";
networking.interfaces.end0.ipv4.addresses = [
{
address = "192.168.4.228";
address = "192.168.4.36";
prefixLength = 24;
}
];
networking.defaultGateway = "192.168.4.1";
networking.nameservers = ["192.168.4.1" "8.8.8.8"];
# Bootloader.
boot.loader.grub.enable = true;
boot.loader.grub.device = "/dev/nvme0n1";
boot.loader.grub.useOSProber = true;
}