nix/option/Const.nix

34 lines
760 B
Nix

{ lib, ... }:
{
options.module.const = {
droidStateVersion = lib.mkOption {
default = "24.05";
type = lib.types.str;
};
stateVersion = lib.mkOption {
default = "24.11";
type = lib.types.str;
};
timeZone = lib.mkOption {
default = "Europe/Moscow";
type = lib.types.str;
};
url = lib.mkOption {
default = "https://git.voronind.com/voronind/nix.git";
type = lib.types.str;
};
home = lib.mkOption {
default = "fd09:8d46:b26:0:8079:82ff:fe1a:916a";
type = lib.types.str;
};
ula = lib.mkOption {
default = "fd09:8d46:b26::/48";
type = lib.types.str;
};
host = lib.mkOption {
default = { };
type = lib.types.attrs;
};
};
}