2021-02-08 22:26:22 +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 {
|
|
|
|
imports = [
|
|
|
|
../lib/blade.nix
|
|
|
|
];
|
|
|
|
|
|
|
|
boot.loader.grub.device = "/dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_0101cabb1ebdbdc0fd7b18edd207d43717c39c4a59d1b138b363e315841eca15743400000000000000000000443273100087260091558107b6a8e06e-0:0";
|
|
|
|
|
|
|
|
# Networking!
|
|
|
|
networking = {
|
|
|
|
hostName = "blade-tuvok";
|
|
|
|
hostId = "525229f7";
|
|
|
|
interfaces.bond0.ipv4.addresses = [{
|
|
|
|
address = "192.168.1.181";
|
|
|
|
prefixLength = 24;
|
|
|
|
}];
|
|
|
|
};
|
2021-02-08 22:33:42 +00:00
|
|
|
my.ip.tailscale = "100.119.123.33";
|
2021-02-09 01:17:54 +00:00
|
|
|
|
|
|
|
services.ceph = {
|
|
|
|
mon.enable = true;
|
2021-02-09 21:57:49 +00:00
|
|
|
#osd.enable = true;
|
2021-02-09 01:17:54 +00:00
|
|
|
};
|
2021-02-08 22:26:22 +00:00
|
|
|
}
|