mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-10 11:39:42 +00:00
22 lines
474 B
Nix
22 lines
474 B
Nix
{
|
|
inputs,
|
|
osConfig,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf;
|
|
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
|
|
|
|
config = builtins.fromJSON (builtins.readFile ./config.json);
|
|
style = builtins.readFile ./style.css;
|
|
};
|
|
};
|
|
}
|