2021-01-30 04:30:05 +00:00
|
|
|
# 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 {
|
2021-02-07 20:21:32 +00:00
|
|
|
imports = [
|
2021-02-07 21:23:23 +00:00
|
|
|
../lib/blade.nix
|
2021-02-07 20:21:32 +00:00
|
|
|
];
|
|
|
|
|
|
|
|
boot.loader.grub.device = "/dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_0401c0556e165beb5c1df7b9f438e6ba98af3caa816d88e69b2bf7ec2909f6ca293a000000000000000000009c7343f0ff88671891558107c52824c1-0:0";
|
2021-01-30 04:30:05 +00:00
|
|
|
|
|
|
|
# Networking!
|
|
|
|
networking = {
|
2021-02-07 20:21:32 +00:00
|
|
|
hostName = "blade-janeway";
|
|
|
|
hostId = "3a62390f";
|
2021-01-30 04:30:05 +00:00
|
|
|
};
|
2021-02-07 20:21:32 +00:00
|
|
|
my.ip.tailscale = "100.121.116.85";
|
2021-03-12 14:47:08 +00:00
|
|
|
my.blade.bay = 3;
|
|
|
|
my.blade.macAddress = {
|
|
|
|
internal = "e8:39:35:1f:7f:8a";
|
|
|
|
storage = "e8:39:35:1f:7f:8e";
|
|
|
|
};
|
2021-02-09 01:17:54 +00:00
|
|
|
|
|
|
|
services.ceph = {
|
|
|
|
mon.enable = true;
|
|
|
|
mds.enable = true;
|
2021-02-09 21:47:04 +00:00
|
|
|
osd = {
|
|
|
|
enable = true;
|
|
|
|
daemons = [ "0" "1" ];
|
|
|
|
};
|
2021-02-09 01:17:54 +00:00
|
|
|
};
|
2021-01-30 04:30:05 +00:00
|
|
|
}
|