prism & fzf to modules
This commit is contained in:
@@ -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;
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user