diff options
| author | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-15 20:32:36 +0530 |
|---|---|---|
| committer | Arpit Chakladar <arpitchakladar+git@gmail.com> | 2026-07-15 20:32:36 +0530 |
| commit | 23616c2e13f63f0262d64538032b98ce83cc0ec2 (patch) | |
| tree | 3ea56e8c12c6735b5dddb34b5699c59c00066b0f /modules/system/bottom/default.nix | |
| parent | 01aaa7ad39c1fe8af6ffbca31abbab27dbfefc95 (diff) | |
| download | home-manager-config-23616c2e13f63f0262d64538032b98ce83cc0ec2.tar.gz home-manager-config-23616c2e13f63f0262d64538032b98ce83cc0ec2.zip | |
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
Diffstat (limited to 'modules/system/bottom/default.nix')
| -rw-r--r-- | modules/system/bottom/default.nix | 10 |
1 files changed, 8 insertions, 2 deletions
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; }; }; } |
