27 lines
427 B
Nix
27 lines
427 B
Nix
{ config
|
|
, lib
|
|
, pkgs
|
|
, ...
|
|
}:
|
|
|
|
with lib;
|
|
let
|
|
cfg = config.my.shell;
|
|
in
|
|
{
|
|
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;
|
|
};
|
|
};
|
|
}
|