Skip to content

admin

Convenient Administration for the Clan App

Inventory usage

Predefined roles:

  • default

Usage:

buildClan {
  inventory.services = {
    admin.instance_1 = {
        roles.default.machines = [ "sara_machine" ];
        # ...
    };
  };
}

Usage

To use this module, import it like this:

{config, lib, inputs, ...}: {
    imports = [ inputs.clan-core.clanModules.admin ];
    # ...
}

Module Options

clan.admin.allowedKeys

The allowed public keys for ssh access to the admin user

Type: attribute set of string

Default:

{ }
Example
{
  key_1 = "ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQD...";
}

admin