24 lines
362 B
Nix
24 lines
362 B
Nix
{
|
|
pkgs,
|
|
config,
|
|
lib,
|
|
...
|
|
}:
|
|
with lib;
|
|
let
|
|
cfg = config.eboskma.programs.nyxt;
|
|
in
|
|
{
|
|
options.eboskma.programs.nyxt = {
|
|
enable = mkEnableOption "nyxt web browser";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home.packages = [ pkgs.nyxt ];
|
|
|
|
xdg.configFile.nyxt-config = {
|
|
target = "nyxt/config.lisp";
|
|
source = ./config.lisp;
|
|
};
|
|
};
|
|
}
|