nyxt: initial module
This commit is contained in:
parent
82e6fa041e
commit
5316be7497
2 changed files with 24 additions and 0 deletions
5
home-manager/modules/nyxt/config.lisp
Normal file
5
home-manager/modules/nyxt/config.lisp
Normal 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+)))
|
19
home-manager/modules/nyxt/default.nix
Normal file
19
home-manager/modules/nyxt/default.nix
Normal 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;
|
||||||
|
};
|
||||||
|
};
|
||||||
|
}
|
Loading…
Reference in a new issue