mirror of
https://github.com/ItsDrike/nixdots
synced 2024-11-14 21:57:17 +00:00
21 lines
354 B
Nix
21 lines
354 B
Nix
{
|
|
osConfig,
|
|
pkgs,
|
|
lib,
|
|
...
|
|
}: let
|
|
inherit (lib) mkIf;
|
|
cfg = osConfig.myOptions.home-manager.programs.launchers.walker;
|
|
in {
|
|
config = mkIf cfg.enable {
|
|
home.packages = with pkgs; [
|
|
walker
|
|
];
|
|
|
|
xdg.configFile = {
|
|
"walker/config.json".source = ./config.json;
|
|
"walker/style.css".source = ./style.css;
|
|
};
|
|
};
|
|
}
|