41 lines
1,001 B
Nix
41 lines
1,001 B
Nix
# SPDX-FileCopyrightText: 2020 Luke Granger-Brown <depot@lukegb.com>
|
|
#
|
|
# SPDX-License-Identifier: Apache-2.0
|
|
|
|
{ depot, lib, pkgs, config, ... }:
|
|
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";
|
|
|
|
# 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";
|
|
};
|
|
};
|
|
my.ip.tailscale = "100.92.118.36";
|
|
my.blade.bay = 8;
|
|
my.blade.macAddress = {
|
|
internal = "e4:11:5b:ac:e3:cc";
|
|
storage = null;
|
|
#storage = "e4:11:5b:ac:e3:d0";
|
|
};
|
|
|
|
services.ceph = {
|
|
osd = {
|
|
enable = true;
|
|
daemons = [ "4" "5" ];
|
|
};
|
|
};
|
|
}
|