nixos-config/home-manager/modules/eww/default.nix
Erwin Boskma 4cd0f83ce8
Some checks failed
/ check (push) Failing after 2m46s
Run nixfmt
2024-02-05 11:46:52 +01:00

26 lines
394 B
Nix

{
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;
};
home.packages = [ cfg.package ];
};
}