diff options
author | azahi <azat@bahawi.net> | 2025-02-17 02:21:56 +0300 |
---|---|---|
committer | azahi <azat@bahawi.net> | 2025-02-17 02:21:56 +0300 |
commit | 59180328cda59817d71cd58c8f48ead047375064 (patch) | |
tree | 2cdd7d1bfa309839ef624c19daf283f510aacf69 /modules/htop.nix | |
parent | 2025-02-05 (diff) |
2025-02-17
Diffstat (limited to 'modules/htop.nix')
-rw-r--r-- | modules/htop.nix | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/modules/htop.nix b/modules/htop.nix index 647abf7..779dc0a 100644 --- a/modules/htop.nix +++ b/modules/htop.nix @@ -1,12 +1,11 @@ { config, lib, ... }: -with lib; let cfg = config.nixfiles.modules.htop; in { - options.nixfiles.modules.htop.enable = mkEnableOption "htop"; + options.nixfiles.modules.htop.enable = lib.mkEnableOption "htop"; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { hm.programs.htop = { enable = true; |