??
This commit is contained in:
60
modules/stylix.nix
Normal file
60
modules/stylix.nix
Normal file
@@ -0,0 +1,60 @@
|
||||
{ config, pkgs, inputs, ... }:
|
||||
|
||||
{
|
||||
stylix = {
|
||||
enable = true;
|
||||
|
||||
# Set the wallpaper
|
||||
image = ../assets/wallpapers/japantrain.png;
|
||||
|
||||
# Set the color scheme (dark mode)
|
||||
polarity = "dark";
|
||||
|
||||
# Optionally force a specific scheme instead of generating from image
|
||||
# base16Scheme = "${pkgs.base16-schemes}/share/themes/catppuccin-mocha.yaml";
|
||||
|
||||
cursor = {
|
||||
package = pkgs.bibata-cursors;
|
||||
name = "Bibata-Modern-Ice";
|
||||
size = 24;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
monospace = {
|
||||
package = pkgs.nerd-fonts.jetbrains-mono;
|
||||
name = "JetBrainsMono Nerd Font Mono";
|
||||
};
|
||||
sansSerif = {
|
||||
package = pkgs.dejavu_fonts;
|
||||
name = "DejaVu Sans";
|
||||
};
|
||||
serif = {
|
||||
package = pkgs.dejavu_fonts;
|
||||
name = "DejaVu Serif";
|
||||
};
|
||||
|
||||
sizes = {
|
||||
applications = 12;
|
||||
terminal = 15;
|
||||
desktop = 10;
|
||||
popups = 10;
|
||||
};
|
||||
};
|
||||
|
||||
# Opacity for various applications
|
||||
opacity = {
|
||||
applications = 1.0;
|
||||
terminal = 0.95;
|
||||
desktop = 1.0;
|
||||
popups = 1.0;
|
||||
};
|
||||
|
||||
# Configure which targets Stylix should manage
|
||||
targets = {
|
||||
console.enable = true;
|
||||
gnome.enable = true;
|
||||
gtk.enable = true;
|
||||
nixos-icons.enable = true;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user