mirror of
https://github.com/smg1024/nix-darwin.git
synced 2026-05-23 04:43:00 +09:00
39 lines
728 B
Nix
39 lines
728 B
Nix
{lib, ...}: let
|
|
inherit (lib) mkOption;
|
|
types = lib.types;
|
|
in {
|
|
options.repo = {
|
|
user = {
|
|
name = mkOption {
|
|
type = types.str;
|
|
};
|
|
email = mkOption {
|
|
type = types.str;
|
|
};
|
|
homeDirectory = mkOption {
|
|
type = types.str;
|
|
};
|
|
homeStateVersion = mkOption {
|
|
type = types.str;
|
|
};
|
|
darwinStateVersion = mkOption {
|
|
type = types.int;
|
|
};
|
|
secretFile = mkOption {
|
|
type = types.path;
|
|
};
|
|
};
|
|
|
|
host = {
|
|
name = mkOption {
|
|
type = types.str;
|
|
};
|
|
system = mkOption {
|
|
type = types.str;
|
|
};
|
|
features = mkOption {
|
|
type = types.listOf types.str;
|
|
};
|
|
};
|
|
};
|
|
}
|