prism & fzf to modules

This commit is contained in:
smayzy
2025-07-08 17:31:23 +02:00
parent eebe36a2b0
commit 3bb89d0b97
6 changed files with 39 additions and 4 deletions
+1
View File
@@ -3,5 +3,6 @@
imports = [
./nh.nix
./nvf.nix
./fzf.nix
];
}
+18
View File
@@ -0,0 +1,18 @@
{ config, lib, pkgs, ...}:
let
inherit (lib) mkIf mkOption types;
in
{
options.smayzy.fzf.enable = mkOption {
type = types.bool;
default = false;
description = "use fzf";
};
config = mkIf config.smayzy.fzf.enable {
environment.systemPackages = with pkgs; [
fzf
];
programs.fzf.keybindings = true;
};
}