mirror of
https://github.com/librephoenix/nixos-config
synced 2025-01-19 23:25:52 +05:30
52 lines
1.1 KiB
Nix
52 lines
1.1 KiB
Nix
{ config, pkgs, myTheme, ... }:
|
|
|
|
let
|
|
myFont = "Inconsolata";
|
|
myFontPkg = pkgs.inconsolata;
|
|
|
|
in
|
|
{
|
|
stylix.autoEnable = false;
|
|
stylix.polarity = "dark";
|
|
stylix.image = pkgs.fetchurl {
|
|
url = "https://w.wallhaven.cc/full/6d/wallhaven-6d5k6x.jpg";
|
|
sha256 = "+xl4H3UiVmMRNvMhIlaLdVTYYqnSyCTSX2UOTGsDQ8c=";
|
|
};
|
|
stylix.base16Scheme = "${pkgs.base16-schemes}/share/themes/"+myTheme+".yaml";
|
|
|
|
stylix.fonts = {
|
|
monospace = {
|
|
name = myFont;
|
|
package = myFontPkg;
|
|
};
|
|
serif = {
|
|
name = myFont;
|
|
package = myFontPkg;
|
|
};
|
|
sansSerif = {
|
|
name = myFont;
|
|
package = myFontPkg;
|
|
};
|
|
emoji = {
|
|
name = "Noto Color Emoji";
|
|
package = pkgs.noto-fonts-emoji-blob-bin;
|
|
};
|
|
sizes = {
|
|
terminal = 18;
|
|
applications = 14;
|
|
popups = 12;
|
|
desktop = 12;
|
|
};
|
|
};
|
|
|
|
stylix.targets.alacritty.enable = true;
|
|
#programs.alacritty.enable = true;
|
|
stylix.targets.kitty.enable = true;
|
|
#programs.kitty.enable = true;
|
|
stylix.targets.gtk.enable = true;
|
|
stylix.targets.rofi.enable = true;
|
|
programs.rofi.enable = true;
|
|
stylix.targets.feh.enable = true;
|
|
programs.feh.enable = true;
|
|
}
|