From d6dc4e7b996a4dd1a0fc5458e85db0dc454cf443 Mon Sep 17 00:00:00 2001 From: Ryan Cao <70191398+ryanccn@users.noreply.github.com> Date: Mon, 24 Jul 2023 21:19:38 +0800 Subject: [PATCH] feat: manage exa with hm --- home.nix | 1 + programs/aliases.nix | 4 ---- programs/exa.nix | 8 ++++++++ 3 files changed, 9 insertions(+), 4 deletions(-) create mode 100644 programs/exa.nix diff --git a/home.nix b/home.nix index de3c48c..95bf30c 100644 --- a/home.nix +++ b/home.nix @@ -15,6 +15,7 @@ ./programs/bat.nix ./programs/helix.nix ./programs/go.nix + ./programs/exa.nix ]; programs.home-manager.enable = true; diff --git a/programs/aliases.nix b/programs/aliases.nix index c5258ca..bd49e2e 100644 --- a/programs/aliases.nix +++ b/programs/aliases.nix @@ -1,9 +1,5 @@ { "vim".command = "hx"; - "ls" = { - command = "exa --all --icons"; - fishAlias = true; - }; "dig".command = "doggo"; "glol" = { diff --git a/programs/exa.nix b/programs/exa.nix new file mode 100644 index 0000000..aae9ba7 --- /dev/null +++ b/programs/exa.nix @@ -0,0 +1,8 @@ +{...}: { + programs.exa = { + enable = true; + enableAliases = true; + icons = true; + extraOptions = ["--all"]; + }; +}