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
|
|
|
|
];
|
|
|
|
|
2021-02-09 00:00:18 +00:00
|
|
|
boot.loader.grub.device = "/dev/disk/by-id/usb-USB_SanDisk_3.2Gen1_0101da58c052a35c497ff39f7bd33f46a018bf2f2cd4503e52a89df5e552da8d661f000000000000000000005e0619e7ff90240091558107b6a8e58d-0:0";
|
2021-02-08 22:26:22 +00:00
|
|
|
|
|
|
|
# Networking!
|
|
|
|
networking = {
|
|
|
|
hostName = "blade-paris";
|
|
|
|
hostId = "41b2a198";
|
2021-02-10 23:38:05 +00:00
|
|
|
interfaces.br-ext.ipv4.addresses = [{
|
2021-02-08 22:26:22 +00:00
|
|
|
address = "192.168.1.184";
|
|
|
|
prefixLength = 24;
|
|
|
|
}];
|
|
|
|
};
|
2021-02-09 00:00:18 +00:00
|
|
|
my.ip.tailscale = "100.117.185.118";
|
2021-02-09 01:17:54 +00:00
|
|
|
|
|
|
|
services.ceph = {
|
|
|
|
mon.enable = true;
|
2021-02-09 22:29:11 +00:00
|
|
|
osd = {
|
|
|
|
enable = true;
|
|
|
|
daemons = [ "2" ];
|
|
|
|
};
|
2021-02-09 01:17:54 +00:00
|
|
|
};
|
2021-02-08 22:26:22 +00:00
|
|
|
}
|