25 lines
675 B
Nix
25 lines
675 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_01012b89ef8e36218414588461cda968a6fbfa5bf39e398aaeda43d9e398b05f86800000000000000000000097b1f26d001a240091558107b6a8e160-0:0";
|
|
|
|
# Networking!
|
|
networking = {
|
|
hostName = "blade-chakotay";
|
|
hostId = "40bc5a75";
|
|
interfaces.bond0.ipv4.addresses = [{
|
|
address = "192.168.1.182";
|
|
prefixLength = 24;
|
|
}];
|
|
};
|
|
my.ip.tailscale = "100.121.11.7";
|
|
}
|