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

25 lines
362 B
Nix
Raw Normal View History

2024-02-05 11:46:52 +01:00
{
pkgs,
config,
lib,
...
}:
2023-11-08 09:31:39 +01:00
with lib;
let
cfg = config.eboskma.programs.nyxt;
in
{
2024-02-05 11:46:52 +01:00
options.eboskma.programs.nyxt = {
enable = mkEnableOption "nyxt web browser";
};
2023-11-08 09:31:39 +01:00
config = mkIf cfg.enable {
2024-02-05 11:46:52 +01:00
home.packages = [ pkgs.nyxt ];
2023-11-08 09:31:39 +01:00
xdg.configFile.nyxt-config = {
target = "nyxt/config.lisp";
source = ./config.lisp;
};
};
}