Add some basic nyxt config with base16 theme
This commit is contained in:
parent
762ee79929
commit
fcfa068492
|
@ -41,6 +41,7 @@
|
|||
./home/accounts/default.nix
|
||||
./home/emacs/default.nix
|
||||
./home/hyprland/default.nix
|
||||
./home/nyxt/default.nix
|
||||
./home/alacritty.nix
|
||||
./home/default.nix
|
||||
./home/firefox.nix
|
||||
|
|
6
home/nyxt/config.lisp
Normal file
6
home/nyxt/config.lisp
Normal file
|
@ -0,0 +1,6 @@
|
|||
(setf (uiop:getenv "GTK_THEME") "Adwaita:dark")
|
||||
(define-configuration buffer
|
||||
((default-modes (pushnew 'nyxt/mode/emacs:emacs-mode %slot-value%))))
|
||||
(define-configuration web-buffer
|
||||
((default-modes (pushnew 'nyxt/mode/blocker:blocker-mode %slot-value%))))
|
||||
(load "~/.config/nyxt/theme.lisp")
|
21
home/nyxt/default.nix
Normal file
21
home/nyxt/default.nix
Normal file
|
@ -0,0 +1,21 @@
|
|||
{ 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}"))))
|
||||
|
||||
'';
|
||||
};
|
||||
}
|
|
@ -11,7 +11,6 @@
|
|||
protonvpn-cli
|
||||
protonvpn-gui
|
||||
transmission-gtk
|
||||
nyxt
|
||||
fractal
|
||||
discord
|
||||
teams-for-linux
|
||||
|
|
Loading…
Reference in a new issue