nixdots/home/programs/graphical/launchers/walker/default.nix

25 lines
526 B
Nix
Raw Normal View History

2024-06-10 17:55:38 +00:00
{
inputs,
2024-07-07 17:26:27 +00:00
config,
osConfig,
lib,
2024-06-10 17:55:38 +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];
config = mkIf cfg.enable {
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 17:55:38 +00:00
};
}