From 59180328cda59817d71cd58c8f48ead047375064 Mon Sep 17 00:00:00 2001 From: azahi Date: Mon, 17 Feb 2025 02:21:56 +0300 Subject: 2025-02-17 --- modules/eza.nix | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'modules/eza.nix') diff --git a/modules/eza.nix b/modules/eza.nix index 96b7d4c..a0163dc 100644 --- a/modules/eza.nix +++ b/modules/eza.nix @@ -4,14 +4,13 @@ pkgs, ... }: -with lib; let cfg = config.nixfiles.modules.eza; in { - options.nixfiles.modules.eza.enable = mkEnableOption "eza, an alternative to ls"; + options.nixfiles.modules.eza.enable = lib.mkEnableOption "eza, an alternative to ls"; - config = mkIf cfg.enable { + config = lib.mkIf cfg.enable { nixfiles.modules.common.shell.aliases = rec { ls = "eza --smart-group --dereference"; ll = "${ls} --long --grid"; -- cgit 1.4.1