24 lines
694 B
Nix
24 lines
694 B
Nix
{ options, config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
with lib.plusultra;
|
|
let cfg = config.plusultra.desktop.addons.wofi;
|
|
in
|
|
{
|
|
options.plusultra.desktop.addons.wofi = with types; {
|
|
enable =
|
|
mkBoolOpt false "Whether to enable the Wofi in the desktop environment.";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
environment.systemPackages = with pkgs; [ wofi wofi-emoji ];
|
|
|
|
# config -> .config/wofi/config
|
|
# css -> .config/wofi/style.css
|
|
# colors -> $XDG_CACHE_HOME/wal/colors
|
|
# plusultra.home.configFile."foot/foot.ini".source = ./foot.ini;
|
|
plusultra.home.configFile."wofi/config".source = ./config;
|
|
plusultra.home.configFile."wofi/style.css".source = ./style.css;
|
|
};
|
|
}
|