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

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;
};
};
}