33 lines
789 B
Nix
33 lines
789 B
Nix
# 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.br-ext.ipv4.addresses = [{
|
|
address = "192.168.1.181";
|
|
prefixLength = 24;
|
|
}];
|
|
};
|
|
my.ip.tailscale = "100.119.123.33";
|
|
|
|
services.ceph = {
|
|
mon.enable = true;
|
|
osd = {
|
|
enable = true;
|
|
daemons = [ "3" ];
|
|
};
|
|
};
|
|
}
|