diff options
| author | Caroline Larimore <caroline@larimo.re> | 2025-02-08 17:26:38 -0800 |
|---|---|---|
| committer | Caroline Larimore <caroline@larimo.re> | 2025-04-14 18:58:51 -0700 |
| commit | 49c1cdbcf34dc137612c3eaf3c843d49323d1901 (patch) | |
| tree | 5d38aef9959952550382f4b6e55c481079de8d70 /snowfall/modules/home/tools/btop | |
| parent | 98242c2f0d37306b72398159d89a39bed6bbc3a2 (diff) | |
migration: btop
Diffstat (limited to 'snowfall/modules/home/tools/btop')
| -rw-r--r-- | snowfall/modules/home/tools/btop/default.nix | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/snowfall/modules/home/tools/btop/default.nix b/snowfall/modules/home/tools/btop/default.nix new file mode 100644 index 0000000..87528a1 --- /dev/null +++ b/snowfall/modules/home/tools/btop/default.nix @@ -0,0 +1,15 @@ +{ options, config, lib, namespace, ... }: + +with lib; with lib.${namespace}; let + cfg = config.${namespace}.tools.btop; +in { + options.${namespace}.tools.btop = with types; { + enable = mkEnableOption "btop"; + }; + + config = mkIf cfg.enable { + programs.btop = { + enable = true; + }; + }; +} |