36 lines
742 B
Nix
36 lines
742 B
Nix
|
{
|
||
|
lib,
|
||
|
inputs,
|
||
|
osConfig,
|
||
|
...
|
||
|
}: {
|
||
|
imports = [
|
||
|
inputs.walker.homeManagerModules.default
|
||
|
];
|
||
|
config = lib.mkIf osConfig.local.modules.hyprland.enable {
|
||
|
programs.walker = {
|
||
|
enable = true;
|
||
|
runAsService = true;
|
||
|
# All options from the config.json can be used here.
|
||
|
config = {
|
||
|
list = {
|
||
|
height = 200;
|
||
|
};
|
||
|
app_launch_prefix = "uwsm app -- ";
|
||
|
websearch.prefix = "?";
|
||
|
switcher.prefix = "/";
|
||
|
};
|
||
|
};
|
||
|
|
||
|
systemd.user.services.walker = {
|
||
|
Unit = {
|
||
|
PartOf = lib.mkForce [];
|
||
|
After = lib.mkForce ["graphical-session.target"];
|
||
|
};
|
||
|
Service = {
|
||
|
Slice = lib.mkForce "background-graphical.slice";
|
||
|
};
|
||
|
};
|
||
|
};
|
||
|
}
|