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

31 lines
747 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_0101cabb1ebdbdc0fd7b18edd207d43717c39c4a59d1b138b363e315841eca15743400000000000000000000443273100087260091558107b6a8e06e-0:0";
# Networking!
networking = {
hostName = "blade-tuvok";
hostId = "525229f7";
interfaces.bond0.ipv4.addresses = [{
address = "192.168.1.181";
prefixLength = 24;
}];
};
my.ip.tailscale = "100.119.123.33";
2021-02-09 01:17:54 +00:00
services.ceph = {
mon.enable = true;
#osd.enable = true;
2021-02-09 01:17:54 +00:00
};
}