From 0906e8dfe7a4a530799681be4be8ac5b48fddc0b Mon Sep 17 00:00:00 2001 From: Norbert Melzer Date: Wed, 13 Mar 2024 13:46:29 +0100 Subject: [PATCH] eza: use `mkDefault` for aliases Using `mkDefault` for the individual aliases makes it easier to override or replace individual entries by the user, without having to use `mkForce` which is often confusing for new users. --- modules/programs/eza.nix | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/programs/eza.nix b/modules/programs/eza.nix index e28c3a54c..3c244071f 100644 --- a/modules/programs/eza.nix +++ b/modules/programs/eza.nix @@ -75,7 +75,7 @@ with lib; optionsAlias = { eza = "eza ${args}"; }; - aliases = { + aliases = builtins.mapAttrs (_name: value: lib.mkDefault value) { ls = "eza"; ll = "eza -l"; la = "eza -a";