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

22 lines
474 B
Nix
Raw Normal View History

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