depot/ops/nixos/blade-torres/default.nix

42 lines
1,012 B
Nix
Raw Normal View History

# 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_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";
2021-03-12 14:47:08 +00:00
my.blade.bay = 8;
my.blade.macAddress = {
internal = "e4:11:5b:ac:e3:cc";
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
services.ceph = {
2021-02-09 22:29:11 +00:00
osd = {
enable = true;
daemons = [ "4" "5" ];
};
2021-02-09 01:17:54 +00:00
};
}