Anthony Rodriguez
b808281674
Started moving HM config to the new local modules system. Conditionally toggling based on profiles and modules.
35 lines
742 B
Nix
35 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";
|
|
};
|
|
};
|
|
};
|
|
}
|