# SPDX-FileCopyrightText: 2020 Luke Granger-Brown # # SPDX-License-Identifier: Apache-2.0 { depot, lib, pkgs, config, ... }: let inherit (depot.ops) secrets; in { imports = [ ../lib/blade-router.nix ../lib/blade.nix ]; boot.loader.grub.device = "/dev/disk/by-id/usb-SanDisk_Ultra_4C530001320720111165-0:0"; # Networking! networking = { hostName = "blade-paris"; hostId = "41b2a198"; }; my.ip.tailscale = "100.81.131.61"; my.ip.tailscale6 = "fd7a:115c:a1e0:ab12:4843:cd96:6251:833d"; my.blade.onZFS = false; my.blade.bay = 2; my.blade.macAddress = { internal = "e4:11:5b:ac:e4:8a"; storage = "e4:11:5b:ac:e4:8e"; internet = "e4:11:5b:ac:e4:8c"; }; my.deploy.enable = false; services.ceph = { mon.enable = true; osd = { enable = true; daemons = [ "2" ]; }; }; my.blade-router = { addresses.linknet = { v4 = { local = "195.74.55.23"; remote = "195.74.55.22"; }; v6 = { local = "2a03:ee40:8080:9:2::2"; remote = "2a03:ee40:8080:9:2::1"; }; }; addresses.br-public = { v4.addr = "92.118.28.253"; v6.addr = "2a09:a441::fffe"; }; vrrp.priority = 50; }; }