2020-01-12 23:11:02 -08:00
|
|
|
# modules/dev/zsh.nix --- http://zsh.sourceforge.net/
|
|
|
|
#
|
|
|
|
# Shell script programmers are strange beasts. Writing programs in a language
|
|
|
|
# that wasn't intended as a programming language. Alas, it is not for us mere
|
|
|
|
# mortals to question the will of the ancient ones. If they want shell programs,
|
|
|
|
# they get shell programs.
|
2020-01-12 16:49:13 -08:00
|
|
|
|
2020-04-06 20:29:11 -07:00
|
|
|
{ config, options, lib, pkgs, ... }:
|
|
|
|
with lib;
|
2020-01-12 16:49:13 -08:00
|
|
|
{
|
2020-04-06 20:29:11 -07:00
|
|
|
options.modules.dev.zsh = {
|
|
|
|
enable = mkOption {
|
|
|
|
type = types.bool;
|
|
|
|
default = false;
|
|
|
|
};
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf config.modules.dev.zsh.enable {
|
|
|
|
my.packages = with pkgs; [
|
|
|
|
shellcheck
|
|
|
|
my.zunit
|
|
|
|
];
|
|
|
|
};
|
2020-01-12 16:49:13 -08:00
|
|
|
}
|