nyxt: use mustache template for themeing
This commit is contained in:
parent
9ef93d0716
commit
9c0b8ba2fd
|
@ -1,9 +1,20 @@
|
|||
{pkgs, ...}: {
|
||||
{
|
||||
config,
|
||||
pkgs,
|
||||
...
|
||||
}: {
|
||||
home.packages = [pkgs.nyxt];
|
||||
xdg = {
|
||||
configFile = {
|
||||
"nyxt/config.lisp".source = ./config.lisp;
|
||||
"nyxt/theme.lisp".source = ./default.mustache;
|
||||
"nyxt/config.lisp".text = ''
|
||||
;; Import stylix theme
|
||||
(nyxt::load-lisp "${config.lib.stylix.colors {
|
||||
template = ./default.mustache;
|
||||
extension = ".lisp";
|
||||
}}")
|
||||
;; Import custom configuration
|
||||
(nyxt::load-lisp "${./config.lisp}")
|
||||
'';
|
||||
};
|
||||
dataFile."nyxt/bookmarks.lisp".source = ./bookmarks.lisp;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue