nixos/home/nyxt/default.nix

22 lines
467 B
Nix
Raw Normal View History

{
config,
pkgs,
...
}: {
2024-01-30 14:21:50 +00:00
home.packages = [pkgs.nyxt];
2024-02-02 07:52:21 +00:00
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}")
'';
};
2024-02-02 07:52:21 +00:00
dataFile."nyxt/bookmarks.lisp".source = ./bookmarks.lisp;
};
2024-01-17 16:22:05 +00:00
}