dotfiles/modules/config/shell.nix

23 lines
379 B
Nix
Raw Normal View History

{ lib
2022-07-15 13:11:54 +02:00
, ...
}:
2022-03-22 19:33:01 +01:00
with lib;
2022-07-15 13:11:54 +02:00
{
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;
};
};
}