Compare commits
No commits in common. "f2bb2757b8452bde481293c53391ddaab5a02390" and "5134d1c89f10a9076afc39f87705a554aee10680" have entirely different histories.
f2bb2757b8
...
5134d1c89f
5 changed files with 0 additions and 27 deletions
|
|
@ -1 +0,0 @@
|
||||||
# Customer portal Clan-service
|
|
||||||
|
|
@ -16,8 +16,6 @@ in
|
||||||
# Server configuration
|
# Server configuration
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
roles.server = {
|
roles.server = {
|
||||||
description = "A server hosts the portal";
|
|
||||||
|
|
||||||
interface = { lib, ... }:
|
interface = { lib, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib) mkOption types toString;
|
inherit (lib) mkOption types toString;
|
||||||
|
|
|
||||||
|
|
@ -1 +0,0 @@
|
||||||
# K3s Clan-service
|
|
||||||
|
|
@ -16,8 +16,6 @@ in
|
||||||
# Server configuration
|
# Server configuration
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
roles.server = {
|
roles.server = {
|
||||||
description = "A server manages the cluster";
|
|
||||||
|
|
||||||
interface = { lib, ... }:
|
interface = { lib, ... }:
|
||||||
let
|
let
|
||||||
inherit (lib) mkOption mkEnableOption mkIf types toString;
|
inherit (lib) mkOption mkEnableOption mkIf types toString;
|
||||||
|
|
@ -186,8 +184,6 @@ in
|
||||||
# Agent configuration
|
# Agent configuration
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
roles.agent = {
|
roles.agent = {
|
||||||
description = "An agent connects to the server";
|
|
||||||
|
|
||||||
interface = { lib, ... }: {
|
interface = { lib, ... }: {
|
||||||
options = {};
|
options = {};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
|
|
@ -17,8 +17,6 @@ in
|
||||||
# Controller configuration
|
# Controller configuration
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
roles.controller = {
|
roles.controller = {
|
||||||
description = "A controller that manages the instance";
|
|
||||||
|
|
||||||
interface = {
|
interface = {
|
||||||
options = {
|
options = {
|
||||||
hostName = mkOption {
|
hostName = mkOption {
|
||||||
|
|
@ -77,21 +75,6 @@ in
|
||||||
};
|
};
|
||||||
in
|
in
|
||||||
{
|
{
|
||||||
assertions =
|
|
||||||
let
|
|
||||||
inherit (lib) attrValues any;
|
|
||||||
in
|
|
||||||
[
|
|
||||||
{
|
|
||||||
assertion =
|
|
||||||
config.services.k3s.enable == true;
|
|
||||||
# config.clan.inventory.instances
|
|
||||||
# |> attrValues
|
|
||||||
# |> any ({ module, ... }: module.name == "k3s");
|
|
||||||
message = "This module requires k3s in order to run";
|
|
||||||
}
|
|
||||||
];
|
|
||||||
|
|
||||||
clan.core.vars.generators.zitadel = {
|
clan.core.vars.generators.zitadel = {
|
||||||
share = false;
|
share = false;
|
||||||
|
|
||||||
|
|
@ -242,8 +225,6 @@ in
|
||||||
# Peer configuration
|
# Peer configuration
|
||||||
#==============================================================================================================
|
#==============================================================================================================
|
||||||
roles.peer = {
|
roles.peer = {
|
||||||
description = "A peer";
|
|
||||||
|
|
||||||
interface = {
|
interface = {
|
||||||
options = {};
|
options = {};
|
||||||
};
|
};
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue