mirror of
https://github.com/elkowar/dots-of-war.git
synced 2024-11-06 11:22:23 +00:00
20 lines
441 B
Nix
20 lines
441 B
Nix
|
{ config, lib, pkgs, ... }:
|
||
|
let
|
||
|
cfg = config.elkowar.generalConfig;
|
||
|
myConf = import ../myConfig.nix;
|
||
|
in
|
||
|
{
|
||
|
options.elkowar.generalConfig = with lib; {
|
||
|
shellAliases = lib.mkOption {
|
||
|
type = types.attrsOf types.str;
|
||
|
default = {};
|
||
|
description = ''
|
||
|
A map of aliases that will get applied to zsh and fish configuration.
|
||
|
'';
|
||
|
};
|
||
|
};
|
||
|
config = {
|
||
|
programs.zsh.shellAliases = cfg.shellAliases;
|
||
|
};
|
||
|
}
|