finally got anyrun working, i had forgotten to import inputs to home.nix 💀

This commit is contained in:
Gabriella Bere 2024-08-24 13:22:04 +01:00
parent aa857f5373
commit 6764996241
3 changed files with 43 additions and 40 deletions

View file

@ -1,4 +1,4 @@
{ config, pkgs, lib, ... }:
{ config, pkgs, lib, inputs, ... }:
{
# Home Manager needs a bit of information about you and the paths it should
@ -6,6 +6,10 @@
home.username = "blue";
home.homeDirectory = "/home/blue";
imports = [
inputs.anyrun.homeManagerModules.default
];
# This value determines the Home Manager release that your configuration is
# compatible with. This helps avoid breakage when a new Home Manager release
# introduces backwards incompatible changes.
@ -247,40 +251,40 @@
};
};
# programs.anyrun = {
# enable = true;
# config = {
# plugins = [
programs.anyrun = {
enable = true;
config = {
plugins = [
# An array of all the plugins you want, which either can be paths to the .so files, or their packages
# inputs.anyrun.packages.${pkgs.system}.applications
inputs.anyrun.packages.${pkgs.system}.applications
# ./some_plugin.so
# "${inputs.anyrun.packages.${pkgs.system}.anyrun-with-all-plugins}/lib/kidex"
# ];
# x = { fraction = 0.5; };
# y = { fraction = 0.3; };
# width = { fraction = 0.3; };
# hideIcons = false;
# ignoreExclusiveZones = false;
# layer = "overlay";
# hidePluginInfo = false;
# closeOnClick = false;
# showResultsImmediately = false;
# maxEntries = null;
# };
# extraCss = ''
# .some_class {
# background: red;
# }
# '';
];
x = { fraction = 0.5; };
y = { fraction = 0.3; };
width = { fraction = 0.3; };
hideIcons = false;
ignoreExclusiveZones = false;
layer = "overlay";
hidePluginInfo = false;
closeOnClick = false;
showResultsImmediately = false;
maxEntries = null;
};
extraCss = ''
.some_class {
background: red;
}
'';
# extraConfigFiles."some-plugin.ron".text = ''
# Config(
# // for any other plugin
# // this file will be put in ~/.config/anyrun/some-plugin.ron
# // refer to docs of xdg.configFile for available options
# )
# '';
# };
extraConfigFiles."some-plugin.ron".text = ''
Config(
// for any other plugin
// this file will be put in ~/.config/anyrun/some-plugin.ron
// refer to docs of xdg.configFile for available options
)
'';
};
services.blueman-applet.enable = true;
programs.htop.enable = true;