38 lines
937 B
Nix
38 lines
937 B
Nix
{
|
|
# Ensure this is unique among all clans you want to use.
|
|
meta = {
|
|
name = "amarth";
|
|
description = "Amarth cloud";
|
|
};
|
|
|
|
inventory.machines = {
|
|
m1 = {};
|
|
c1 = {};
|
|
c2 = {};
|
|
c3 = {};
|
|
};
|
|
|
|
# Docs: See https://docs.clan.lol/reference/clanServices
|
|
inventory.instances = {
|
|
admin = {
|
|
roles.default.tags.all = { };
|
|
roles.default.settings.allowedKeys = {
|
|
"chris" = "ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAICE+TFkjJ8p8fMOddvg/waKAjKJ6DRvvouj1MdXc1Taj";
|
|
};
|
|
};
|
|
|
|
zerotier = {
|
|
roles.controller.machines."m1" = { };
|
|
roles.peer.tags.all = { };
|
|
};
|
|
};
|
|
|
|
# Additional NixOS configuration can be added here.
|
|
# machines/jon/configuration.nix will be automatically imported.
|
|
# See: https://docs.clan.lol/guides/more-machines/#automatic-registration
|
|
machines = {
|
|
m1 = { config, pkgs, ... }: {
|
|
environment.systemPackages = [ pkgs.asciinema ];
|
|
};
|
|
};
|
|
}
|