23 lines
379 B
Nix
23 lines
379 B
Nix
{ lib
|
|
, ...
|
|
}:
|
|
|
|
with lib;
|
|
{
|
|
options.my.shell = {
|
|
abbreviations = mkOption {
|
|
default = { };
|
|
type = with types; attrsOf str;
|
|
example = { gs = "git status"; };
|
|
};
|
|
aliases = mkOption {
|
|
default = { };
|
|
type = with types; attrsOf str;
|
|
};
|
|
variables = mkOption {
|
|
default = { };
|
|
type = with types; attrsOf str;
|
|
};
|
|
};
|
|
}
|