mirror of
https://github.com/jbowdre/dotfiles.git
synced 2024-11-25 10:32:19 +00:00
26 lines
646 B
Nix
26 lines
646 B
Nix
|
{ config, lib, pkgs, ... }: {
|
||
|
programs.wofi = {
|
||
|
enable = true;
|
||
|
package = pkgs.wofi.overrideAttrs (oa: {
|
||
|
patches = (oa.patches or [ ]) ++ [
|
||
|
./wofi-run-shell.patch # Fix for https://todo.sr.ht/~scoopta/wofi/174
|
||
|
];
|
||
|
});
|
||
|
settings = {
|
||
|
image_size = 48;
|
||
|
columns = 3;
|
||
|
allow_images = true;
|
||
|
insensitive = true;
|
||
|
run-always_parse_args = true;
|
||
|
run-cache_file = "/dev/null";
|
||
|
run-exec_search = true;
|
||
|
};
|
||
|
};
|
||
|
|
||
|
home.packages =
|
||
|
let
|
||
|
inherit (config.programs.password-store) package enable;
|
||
|
in
|
||
|
lib.optional enable (pkgs.pass-wofi.override { pass = package; });
|
||
|
}
|