mirror of
https://github.com/ryan4yin/nix-config.git
synced 2026-04-23 01:08:32 +02:00
fix: anyrun - The package should come from the same flake as all the plugins
This commit is contained in:
@@ -3,9 +3,15 @@
|
|||||||
anyrun,
|
anyrun,
|
||||||
...
|
...
|
||||||
}:
|
}:
|
||||||
|
|
||||||
|
let
|
||||||
|
anyrunPackages = anyrun.packages.${pkgs.system};
|
||||||
|
in
|
||||||
{
|
{
|
||||||
programs.anyrun = {
|
programs.anyrun = {
|
||||||
enable = true;
|
enable = true;
|
||||||
|
# The package should come from the same flake as all the plugins to avoid breakage.
|
||||||
|
package = anyrunPackages.anyrun;
|
||||||
config = {
|
config = {
|
||||||
# The horizontal position.
|
# The horizontal position.
|
||||||
# when using `fraction`, it sets a fraction of the width or height of the screen
|
# when using `fraction`, it sets a fraction of the width or height of the screen
|
||||||
@@ -24,7 +30,7 @@
|
|||||||
maxEntries = null;
|
maxEntries = null;
|
||||||
|
|
||||||
# https://github.com/anyrun-org/anyrun/tree/master/plugins
|
# https://github.com/anyrun-org/anyrun/tree/master/plugins
|
||||||
plugins = with anyrun.packages.${pkgs.system}; [
|
plugins = with anyrunPackages; [
|
||||||
applications # Launch applications
|
applications # Launch applications
|
||||||
dictionary # Look up word definitions using the Free Dictionary API.
|
dictionary # Look up word definitions using the Free Dictionary API.
|
||||||
nix-run # search & run graphical apps from nixpkgs via `nix run`, without installing it.
|
nix-run # search & run graphical apps from nixpkgs via `nix run`, without installing it.
|
||||||
|
|||||||
Reference in New Issue
Block a user