From 49c1cdbcf34dc137612c3eaf3c843d49323d1901 Mon Sep 17 00:00:00 2001 From: Caroline Larimore Date: Sat, 8 Feb 2025 17:26:38 -0800 Subject: migration: btop --- snowfall/modules/home/tools/btop/default.nix | 15 +++++++++++++++ 1 file changed, 15 insertions(+) create mode 100644 snowfall/modules/home/tools/btop/default.nix (limited to 'snowfall/modules/home/tools/btop/default.nix') 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; + }; + }; +} -- cgit v1.2.3