nyxt: initial module

This commit is contained in:
Erwin Boskma 2023-11-08 09:31:39 +01:00
parent 82e6fa041e
commit 5316be7497
Signed by: erwin
SSH key fingerprint: SHA256:9LmFDe1C6jSrEyqxxvX8NtJBmcbB105XoqyUZF092bg
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,5 @@
(define-configuration buffer
((default-modes
(pushnew 'nyxt/mode/emacs:emacs-mode %slot-value%))))
(define-configuration browser
((theme theme:+dark-theme+)))

View file

@ -0,0 +1,19 @@
{ 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;
};
};
}