aboutsummaryrefslogtreecommitdiff
path: root/modules/home/tools/bash/default.nix
blob: d0f0d9df69fee9d0b5393ba360dcf74483685eb1 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{ options, config, lib, pkgs, namespace, ... }:

with lib; with lib.${namespace}; let
  cfg = config.${namespace}.tools.bash;
in {
  options.${namespace}.tools.bash = with types; {
    enable = mkEnableOption "bash";
  };

  config = mkIf cfg.enable {
    programs.bash = {
      enable = true;
    };
  };
}