nixos/home/nyxt/default.nix

22 lines
467 B
Nix

{
config,
pkgs,
...
}: {
home.packages = [pkgs.nyxt];
xdg = {
configFile = {
"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;
};
}