mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-15 08:27:18 +00:00
25 lines
526 B
Nix
25 lines
526 B
Nix
{
|
|
inputs,
|
|
config,
|
|
osConfig,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf;
|
|
cfg = osConfig.myOptions.home-manager.programs.launchers.walker;
|
|
in {
|
|
imports = [inputs.walker.homeManagerModules.default];
|
|
config = mkIf cfg.enable {
|
|
programs.walker = {
|
|
enable = true;
|
|
runAsService = true; # makes walker a lot faster when starting
|
|
|
|
config = lib.importJSON ./config.json;
|
|
theme = {
|
|
layout = lib.importJSON ./layout.json;
|
|
style = builtins.readFile ./style.css;
|
|
};
|
|
};
|
|
};
|
|
}
|