35 lines
865 B
Nix
35 lines
865 B
Nix
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
{ depot, lib, pkgs, rebuilder, config, ... }:
|
|
let
|
|
inherit (depot.ops) secrets;
|
|
in {
|
|
imports = [
|
|
../lib/blade.nix
|
|
];
|
|
|
|
boot.loader.grub.device = "/dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_0401c0556e165beb5c1df7b9f438e6ba98af3caa816d88e69b2bf7ec2909f6ca293a000000000000000000009c7343f0ff88671891558107c52824c1-0:0";
|
|
|
|
# Networking!
|
|
networking = {
|
|
hostName = "blade-janeway";
|
|
hostId = "3a62390f";
|
|
bonds.bond0.interfaces = [
|
|
"enp4s0f0" "enp4s0f1"
|
|
"enp5s0f0" "enp5s0f1"
|
|
];
|
|
interfaces.bond0.ipv4.addresses = [{
|
|
address = "192.168.1.180";
|
|
prefixLength = 24;
|
|
}];
|
|
};
|
|
my.ip.tailscale = "100.121.116.85";
|
|
|
|
services.ceph = {
|
|
mon.enable = true;
|
|
mds.enable = true;
|
|
osd.enable = true;
|
|
};
|
|
}
|