2022-07-15 13:11:54 +02:00
|
|
|
{ config
|
|
|
|
, lib
|
|
|
|
, pkgs
|
|
|
|
, ...
|
|
|
|
}:
|
2022-03-22 19:33:01 +01:00
|
|
|
|
|
|
|
with lib;
|
2022-07-15 13:11:54 +02:00
|
|
|
let
|
|
|
|
cfg = config.my.shell;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.my.shell = {
|
2022-03-22 19:33:01 +01:00
|
|
|
abbreviations = mkOption {
|
|
|
|
default = { };
|
|
|
|
type = with types; attrsOf str;
|
|
|
|
example = { gs = "git status"; };
|
|
|
|
};
|
|
|
|
aliases = mkOption {
|
|
|
|
default = { };
|
2023-04-05 08:54:30 +02:00
|
|
|
type = with types; attrsOf str;
|
2022-03-22 19:33:01 +01:00
|
|
|
};
|
|
|
|
variables = mkOption {
|
|
|
|
default = { };
|
|
|
|
type = with types; attrsOf str;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
}
|