aboutsummaryrefslogtreecommitdiff
path: root/snowfall/modules/home/tools/bash
diff options
context:
space:
mode:
Diffstat (limited to 'snowfall/modules/home/tools/bash')
-rw-r--r--snowfall/modules/home/tools/bash/default.nix15
1 files changed, 15 insertions, 0 deletions
diff --git a/snowfall/modules/home/tools/bash/default.nix b/snowfall/modules/home/tools/bash/default.nix
new file mode 100644
index 0000000..d0f0d9d
--- /dev/null
+++ b/snowfall/modules/home/tools/bash/default.nix
@@ -0,0 +1,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;
+ };
+ };
+}