nixos/home/nyxt/default.nix

22 lines
637 B
Nix
Raw Normal View History

{ config, lib, pkgs, ... }:
{
home.packages = with pkgs; [ nyxt ];
xdg.configFile = {
"nyxt/config.lisp".source = ./config.lisp;
"nyxt/theme.lisp".text = with config.lib.stylix.colors.withHashtag; ''
(define-configuration browser
((theme (make-instance
'theme:theme
:font-family "${config.stylix.fonts.sansSerif.name}"
:background-color "${base00}"
:background-alt-color "${base01}"
:accent-color "${base0A}"
:primary-color "${base05}"
:secondary-color "${base04}"
:warning-color "${base0A}"))))
'';
};
}