2024-06-10 17:55:38 +00:00
|
|
|
{
|
2024-06-28 14:25:17 +00:00
|
|
|
inputs,
|
2024-07-07 17:26:27 +00:00
|
|
|
config,
|
2024-06-10 18:06:57 +00:00
|
|
|
osConfig,
|
|
|
|
lib,
|
2024-06-10 17:55:38 +00:00
|
|
|
...
|
2024-06-10 18:06:57 +00:00
|
|
|
}: let
|
|
|
|
inherit (lib) mkIf;
|
2024-06-10 18:09:04 +00:00
|
|
|
cfg = osConfig.myOptions.home-manager.programs.launchers.walker;
|
|
|
|
in {
|
2024-08-07 18:19:47 +00:00
|
|
|
imports = [inputs.walker.homeManagerModules.default];
|
2024-06-10 18:06:57 +00:00
|
|
|
config = mkIf cfg.enable {
|
2024-06-28 14:25:17 +00:00
|
|
|
programs.walker = {
|
|
|
|
enable = true;
|
|
|
|
runAsService = true; # makes walker a lot faster when starting
|
2024-06-10 17:55:38 +00:00
|
|
|
|
2024-08-07 18:19:47 +00:00
|
|
|
config = lib.importJSON ./config.json;
|
|
|
|
theme = {
|
|
|
|
layout = lib.importJSON ./layout.json;
|
|
|
|
style = builtins.readFile ./style.css;
|
2024-07-07 17:26:27 +00:00
|
|
|
};
|
2024-06-10 18:06:57 +00:00
|
|
|
};
|
2024-06-10 17:55:38 +00:00
|
|
|
};
|
|
|
|
}
|