20 lines
358 B
Nix
20 lines
358 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;
|
||
|
};
|
||
|
};
|
||
|
}
|