stylix (#3)
Co-authored-by: mjallen18 <matt.l.jallen@gmail.com> Reviewed-on: #3
This commit is contained in:
86
modules/home/stylix/default.nix
Normal file
86
modules/home/stylix/default.nix
Normal file
@@ -0,0 +1,86 @@
|
||||
{ config, pkgs, ... }:
|
||||
let
|
||||
# # Pull from global theme options
|
||||
# themeSize = "standard"; # "standard" | "compact"
|
||||
# themeAccent = "default"; # "default" | ... | "all"
|
||||
# themeTweak = "normal"; # "normal" | "rimless" | "float" | "black"
|
||||
# themeColor = "dark"; # "light" | "dark"
|
||||
# iconThemeVariant = "default"; # "default" | ... | "all"
|
||||
# iconScheme = "nord"; # "default" | "nord" | "dracula" | ...
|
||||
|
||||
# # GTK
|
||||
# gtkTheme = "Colloid-dark-standard";
|
||||
# gtkThemePkg = pkgs.colloid-gtk-theme.override {
|
||||
# sizeVariants = [ themeSize ];
|
||||
# colorVariants = [ themeColor ];
|
||||
# themeVariants = [ themeAccent ];
|
||||
# tweaks = [ themeTweak ];
|
||||
# };
|
||||
|
||||
# # Icons
|
||||
# iconTheme = "Colloid-nord-dark";
|
||||
# iconThemePkg = pkgs.colloid-icon-theme.override {
|
||||
# schemeVariants = [ iconScheme ];
|
||||
# colorVariants = [ iconThemeVariant ];
|
||||
# };
|
||||
in
|
||||
{
|
||||
stylix = {
|
||||
enable = true;
|
||||
enableReleaseChecks = false;
|
||||
base16Scheme = "${pkgs.base16-schemes}/share/themes/nord.yaml";
|
||||
|
||||
cursor = {
|
||||
name = "macOS";
|
||||
size = 24;
|
||||
package = pkgs.apple-cursor;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
serif = {
|
||||
package = pkgs.dejavu_fonts;
|
||||
name = "DejaVu Serif";
|
||||
};
|
||||
|
||||
sansSerif = {
|
||||
package = pkgs.dejavu_fonts;
|
||||
name = "DejaVu Sans";
|
||||
};
|
||||
|
||||
monospace = {
|
||||
package = pkgs.nerd-fonts.jetbrains-mono;
|
||||
name = "JetBrainsMono NFM";
|
||||
};
|
||||
|
||||
emoji = {
|
||||
package = pkgs.noto-fonts-color-emoji;
|
||||
name = "Noto Color Emoji";
|
||||
};
|
||||
|
||||
sizes = {
|
||||
applications = 12;
|
||||
desktop = 14;
|
||||
popups = config.stylix.fonts.sizes.desktop;
|
||||
terminal = config.stylix.fonts.sizes.applications;
|
||||
};
|
||||
};
|
||||
|
||||
icons = {
|
||||
enable = true;
|
||||
package = pkgs.colloid-icon-theme;
|
||||
dark = "Colloid-nord-dark";
|
||||
light = "Colloid-nord-light";
|
||||
};
|
||||
|
||||
opacity = {
|
||||
terminal = 0.85;
|
||||
};
|
||||
|
||||
targets = {
|
||||
hyprlock.enable = false;
|
||||
gnome.enable = false;
|
||||
# gtk.enable = false;
|
||||
qt.enable = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user