2023-07-05 16:59:16 +02:00
|
|
|
{ pkgs, config, lib, ... }:
|
|
|
|
with lib;
|
|
|
|
let
|
|
|
|
cfg = config.eboskma.programs.eww;
|
|
|
|
in
|
|
|
|
{
|
|
|
|
options.eboskma.programs.eww = {
|
|
|
|
enable = mkEnableOption "eww";
|
|
|
|
package = mkPackageOption pkgs "eww" { };
|
|
|
|
};
|
|
|
|
|
|
|
|
config = mkIf cfg.enable {
|
|
|
|
programs.eww = {
|
|
|
|
enable = true;
|
|
|
|
configDir = ./config;
|
|
|
|
package = cfg.package;
|
|
|
|
};
|
|
|
|
|
2023-07-10 13:42:25 +02:00
|
|
|
home.packages = [ cfg.package ];
|
2023-07-05 16:59:16 +02:00
|
|
|
};
|
|
|
|
}
|