diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-07 18:34:37 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:47 -0700 |
| commit | 671c9acdb9875584ec168913682963d06bd9c695 (patch) | |
| tree | c432e0035e9243c52cdfbd788bd43b9f130fd6a6 /snowfall/modules | |
| parent | c9becd28bf4c7acd30340512eb1cb1da105f9da7 (diff) | |
migration: home-manager bash
Diffstat (limited to 'snowfall/modules')
| -rw-r--r-- | snowfall/modules/home/suites/common/default.nix | 2 | ||||
| -rw-r--r-- | snowfall/modules/home/tools/bash/default.nix | 15 |
2 files changed, 16 insertions, 1 deletions
diff --git a/snowfall/modules/home/suites/common/default.nix b/snowfall/modules/home/suites/common/default.nix index c40f903..a25f648 100644 --- a/snowfall/modules/home/suites/common/default.nix +++ b/snowfall/modules/home/suites/common/default.nix @@ -10,10 +10,10 @@ in { config = mkIf cfg.enable { cxl = { tools = { + bash.enable = true; vim.enable = true; git.enable = true; }; }; }; } - 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; + }; + }; +} |