2021-02-08 22:26:22 +00:00
|
|
|
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
|
|
#
|
|
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
|
2022-01-23 16:57:20 +00:00
|
|
|
{ depot, lib, pkgs, config, ... }:
|
2021-02-08 22:26:22 +00:00
|
|
|
let
|
|
|
|
inherit (depot.ops) secrets;
|
|
|
|
in {
|
|
|
|
imports = [
|
|
|
|
../lib/blade.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
boot.loader.grub.device = "/dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_01011cbe2d1b827aedae2d5668fecf2a2dbdab7d0ecc0416f6e7c5485ecec8f5e5870000000000000000000080ce63590095210091558107b6a8e55d-0:0";
|
|
|
|
|
|
|
|
# Networking!
|
|
|
|
networking = {
|
|
|
|
hostName = "blade-torres";
|
|
|
|
hostId = "86db1d9c";
|
2021-03-14 15:52:53 +00:00
|
|
|
|
|
|
|
# HACK: torres' secondary intf. seems to be having problems
|
|
|
|
# temporarily remap this onto the VLANs with everything else.
|
|
|
|
vlans.en-storage = {
|
|
|
|
id = 101;
|
|
|
|
interface = "en-int";
|
|
|
|
};
|
2021-02-08 22:26:22 +00:00
|
|
|
};
|
2021-02-08 22:33:42 +00:00
|
|
|
my.ip.tailscale = "100.92.118.36";
|
2021-03-12 14:47:08 +00:00
|
|
|
my.blade.bay = 8;
|
|
|
|
my.blade.macAddress = {
|
|
|
|
internal = "e4:11:5b:ac:e3:cc";
|
2021-03-14 15:52:53 +00:00
|
|
|
storage = null;
|
|
|
|
#storage = "e4:11:5b:ac:e3:d0";
|
2021-03-12 14:47:08 +00:00
|
|
|
};
|
2021-02-09 01:17:54 +00:00
|
|
|
|
2021-11-05 01:29:53 +00:00
|
|
|
services.openssh.forwardX11 = true;
|
|
|
|
|
2021-02-09 01:17:54 +00:00
|
|
|
services.ceph = {
|
2021-02-09 22:29:11 +00:00
|
|
|
osd = {
|
|
|
|
enable = true;
|
|
|
|
daemons = [ "4" "5" ];
|
|
|
|
};
|
2021-02-09 01:17:54 +00:00
|
|
|
};
|
2021-02-08 22:26:22 +00:00
|
|
|
}
|