aboutsummaryrefslogtreecommitdiffstats
path: root/modules/hm/sils/fd.nix
diff options
context:
space:
mode:
Diffstat (limited to 'modules/hm/sils/fd.nix')
-rw-r--r--modules/hm/sils/fd.nix17
1 files changed, 17 insertions, 0 deletions
diff --git a/modules/hm/sils/fd.nix b/modules/hm/sils/fd.nix
new file mode 100644
index 0000000..7f8e35c
--- /dev/null
+++ b/modules/hm/sils/fd.nix
@@ -0,0 +1,17 @@
+{
+ config,
+ lib,
+ ...
+}: let
+ cfg = config.sils.fd;
+in {
+ options.sils.fd = {
+ enable = lib.mkEnableOption "fd, a fast find alternative";
+ };
+
+ config = lib.mkIf cfg.enable {
+ programs.fd = {
+ enable = true;
+ };
+ };
+}