From 671c9acdb9875584ec168913682963d06bd9c695 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Fri, 7 Feb 2025 18:34:37 -0800 Subject: migration: home-manager bash --- snowfall/modules/home/tools/bash/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 snowfall/modules/home/tools/bash/default.nix (limited to 'snowfall/modules/home/tools/bash/default.nix') 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; + }; + }; +} -- cgit v1.2.3