wip(stylix): move stylix to nixos config
This commit is contained in:
parent
df92bdfe64
commit
48ad6caec9
6 changed files with 258 additions and 3 deletions
47
nixos/stylix.nix
Normal file
47
nixos/stylix.nix
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
{ breezex-cursor, pkgs, ... }:
|
||||
{
|
||||
stylix = {
|
||||
enable = true;
|
||||
image = ./wallpapers/nixos_inspector_tan.png;
|
||||
polarity = "dark";
|
||||
base16Scheme = ./neovim_default_scheme.yaml;
|
||||
|
||||
# fix wallpaper set error when not running under kde plasma
|
||||
# see https://github.com/danth/stylix/issues/340
|
||||
targets.kde.enable = false;
|
||||
|
||||
cursor = {
|
||||
package = breezex-cursor;
|
||||
name = "BreezeX-Light";
|
||||
size = 24;
|
||||
};
|
||||
|
||||
fonts = {
|
||||
monospace = {
|
||||
name = "VictorMono Nerd Font";
|
||||
package = pkgs.nerdfonts;
|
||||
};
|
||||
|
||||
sansSerif = {
|
||||
name = "IBM Plex Sans";
|
||||
package = pkgs.ibm-plex;
|
||||
};
|
||||
|
||||
serif = {
|
||||
name = "CMU Serif";
|
||||
package = pkgs.cm_unicode;
|
||||
};
|
||||
|
||||
sizes = {
|
||||
desktop = 10;
|
||||
popups = 10;
|
||||
terminal = 10;
|
||||
};
|
||||
};
|
||||
};
|
||||
|
||||
# fix cursor size for some apps
|
||||
home.sessionVariables = {
|
||||
XCURSOR_SIZE = 24;
|
||||
};
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue