From 23616c2e13f63f0262d64538032b98ce83cc0ec2 Mon Sep 17 00:00:00 2001 From: Arpit Chakladar Date: Wed, 15 Jul 2026 20:32:36 +0530 Subject: feat: renamed the options to reflect their changed directory stucture Renamed the options for the configurations based on the sub-module that they belong to --- modules/system/bottom/default.nix | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) (limited to 'modules/system/bottom') diff --git a/modules/system/bottom/default.nix b/modules/system/bottom/default.nix index 3ecda86..59a2a43 100644 --- a/modules/system/bottom/default.nix +++ b/modules/system/bottom/default.nix @@ -7,9 +7,15 @@ # Bottom - Cross-platform graphical process/system monitor (Rust-based) { - config = lib.mkIf config.programs.bottom.enable { + options.system.bottom = { + enable = lib.mkEnableOption "Enables bottom."; + package = lib.mkPackageOption pkgs "bottom" { }; + }; + + config = lib.mkIf config.system.bottom.enable { programs.bottom = { - package = pkgs.bottom; + enable = true; + package = config.system.bottom.package; }; }; } -- cgit v1.2.3