mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-01-25 06:32:08 +00:00
sync
This commit is contained in:
@@ -7,6 +7,8 @@
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./odroid-m1-setleds.nix
|
||||
./odroid-m1.nix
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./odroid-m1-setleds.nix
|
||||
./odroid-m1.nix
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./odroid-m1-setleds.nix
|
||||
./odroid-m1.nix
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||
|
||||
@@ -7,6 +7,8 @@
|
||||
}: {
|
||||
imports = [
|
||||
./hardware-configuration.nix
|
||||
./odroid-m1-setleds.nix
|
||||
./odroid-m1.nix
|
||||
];
|
||||
|
||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user