mirror of
https://github.com/sstent/nixos-cluster.git
synced 2026-01-25 14:42:55 +00:00
sync
This commit is contained in:
@@ -7,6 +7,8 @@
|
|||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./odroid-m1-setleds.nix
|
||||||
|
./odroid-m1.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||||
|
|||||||
@@ -7,6 +7,8 @@
|
|||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./odroid-m1-setleds.nix
|
||||||
|
./odroid-m1.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||||
|
|||||||
@@ -7,6 +7,8 @@
|
|||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./odroid-m1-setleds.nix
|
||||||
|
./odroid-m1.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||||
|
|||||||
@@ -7,6 +7,8 @@
|
|||||||
}: {
|
}: {
|
||||||
imports = [
|
imports = [
|
||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
|
./odroid-m1-setleds.nix
|
||||||
|
./odroid-m1.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
nixpkgs.hostPlatform.system = "aarch64-linux";
|
||||||
|
|||||||
@@ -9,16 +9,20 @@
|
|||||||
./hardware-configuration.nix
|
./hardware-configuration.nix
|
||||||
];
|
];
|
||||||
|
|
||||||
nixpkgs.hostPlatform.system = "aarch64-linux";
|
nixpkgs.hostPlatform.system = "x86_64-linux";
|
||||||
networking.hostName = "odroid8";
|
networking.hostName = "opti1";
|
||||||
|
|
||||||
networking.interfaces.end0.ipv4.addresses = [
|
networking.interfaces.end0.ipv4.addresses = [
|
||||||
{
|
{
|
||||||
address = "192.168.4.228";
|
address = "192.168.4.36";
|
||||||
prefixLength = 24;
|
prefixLength = 24;
|
||||||
}
|
}
|
||||||
];
|
];
|
||||||
|
|
||||||
networking.defaultGateway = "192.168.4.1";
|
networking.defaultGateway = "192.168.4.1";
|
||||||
networking.nameservers = ["192.168.4.1" "8.8.8.8"];
|
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;
|
||||||
}
|
}
|
||||||
|
|||||||
@@ -10,8 +10,6 @@
|
|||||||
# ./mnt-clusterstore.nix
|
# ./mnt-clusterstore.nix
|
||||||
./nomad.nix
|
./nomad.nix
|
||||||
./consul.nix
|
./consul.nix
|
||||||
./odroid-m1-setleds.nix
|
|
||||||
./odroid-m1.nix
|
|
||||||
./cifs.nix
|
./cifs.nix
|
||||||
inputs.sops-nix.nixosModules.sops
|
inputs.sops-nix.nixosModules.sops
|
||||||
];
|
];
|
||||||
|
|||||||
Reference in New Issue
Block a user