2024-06-10 17:55:38 +00:00
|
|
|
{
|
2024-06-28 14:25:17 +00:00
|
|
|
inputs,
|
2024-06-10 18:06:57 +00:00
|
|
|
osConfig,
|
2024-06-10 17:55:38 +00:00
|
|
|
pkgs,
|
2024-06-10 18:06:57 +00:00
|
|
|
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-06-28 14:25:17 +00:00
|
|
|
imports = [ inputs.walker.homeManagerModules.walker ];
|
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-06-28 14:25:17 +00:00
|
|
|
config = builtins.fromJSON (builtins.readFile ./config.json);
|
|
|
|
style = builtins.readFile ./style.css;
|
2024-06-10 18:06:57 +00:00
|
|
|
};
|
2024-06-10 17:55:38 +00:00
|
|
|
};
|
|
|
|
}
|