2024-03-17 18:48:49 +00:00
|
|
|
{ lib, pkgs, ... }:
|
|
|
|
{
|
2023-12-15 12:14:55 +00:00
|
|
|
options.clanCore = {
|
|
|
|
clanName = lib.mkOption {
|
|
|
|
type = lib.types.str;
|
|
|
|
description = ''
|
|
|
|
the name of the clan
|
|
|
|
'';
|
|
|
|
};
|
2024-02-05 07:18:40 +00:00
|
|
|
machineIcon = lib.mkOption {
|
|
|
|
type = lib.types.nullOr lib.types.path;
|
2024-02-06 12:25:34 +00:00
|
|
|
default = null;
|
2024-02-05 07:18:40 +00:00
|
|
|
description = ''
|
|
|
|
the location of the machine icon
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
machineDescription = lib.mkOption {
|
2024-02-06 12:25:34 +00:00
|
|
|
type = lib.types.nullOr lib.types.str;
|
|
|
|
default = null;
|
2024-02-05 07:18:40 +00:00
|
|
|
description = ''
|
|
|
|
the description of the machine
|
|
|
|
'';
|
|
|
|
};
|
2023-12-15 12:14:55 +00:00
|
|
|
clanDir = lib.mkOption {
|
2024-05-01 21:16:17 +00:00
|
|
|
type = lib.types.path;
|
|
|
|
default = ./.;
|
2023-12-15 12:14:55 +00:00
|
|
|
description = ''
|
|
|
|
the location of the flake repo, used to calculate the location of facts and secrets
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
clanIcon = lib.mkOption {
|
|
|
|
type = lib.types.nullOr lib.types.path;
|
|
|
|
description = ''
|
|
|
|
the location of the clan icon
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
machineName = lib.mkOption {
|
|
|
|
type = lib.types.str;
|
2024-04-12 10:39:09 +00:00
|
|
|
default = "nixos";
|
2023-12-15 12:14:55 +00:00
|
|
|
description = ''
|
|
|
|
the name of the machine
|
|
|
|
'';
|
|
|
|
};
|
|
|
|
clanPkgs = lib.mkOption {
|
|
|
|
defaultText = "self.packages.${pkgs.system}";
|
|
|
|
internal = true;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|