nixos-config/home-manager/modules/nyxt/default.nix

20 lines
358 B
Nix
Raw Normal View History

2023-11-08 09:31:39 +01:00
{ 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;
};
};
}