Added some environmant variables to make more stuff look dark
Adapted fonts.nix based on https://wiki.nixos.org/wiki/Fonts
This commit is contained in:
+8
-1
@@ -465,6 +465,13 @@ This sets the session variables
|
||||
XDG_SESSION_TYPE = "wayland"; # Session type
|
||||
XDG_CURRENT_DESKTOP = "Hyprland"; # Desktop environment
|
||||
XCURSOR_SIZE = "24"; # Cursor size
|
||||
GTK_THEME = "Catppuccin-Mocha-Standard-Blue-Dark";
|
||||
GTK_APPLICATION_PREFER_DARK_THEME = "1";
|
||||
# Add these for Firefox/Zen Browser:
|
||||
MOZ_ENABLE_WAYLAND = "1"; # If on Wayland
|
||||
GSETTINGS_SCHEMA_DIR = "${pkgs.gsettings-desktop-schemas}/share/glib-2.0/schemas";
|
||||
};
|
||||
|
||||
# Add other session-wide variables here (e.g., QT_QPA_PLATFORM, SDL_VIDEODRIVER)
|
||||
};
|
||||
}
|
||||
@@ -909,7 +916,7 @@ This file installs and configures fonts
|
||||
#+BEGIN_SRC nix :tangle generated/system/core/fonts.nix :noweb tangle :mkdirp yes :eval never-html
|
||||
{ config, pkgs, ... }:
|
||||
{
|
||||
environment.systemPackages = with pkgs; [
|
||||
fonts.packages = with pkgs; [
|
||||
pkgs.nerd-fonts.iosevka
|
||||
];
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user