feat: set up 'stylix'
This commit is contained in:
40
home/modules/stylix.nix
Normal file
40
home/modules/stylix.nix
Normal file
@@ -0,0 +1,40 @@
|
||||
{
|
||||
inputs,
|
||||
pkgs,
|
||||
...
|
||||
}:
|
||||
|
||||
{
|
||||
imports = [ inputs.stylix.homeModules.stylix ];
|
||||
|
||||
stylix = {
|
||||
enable = true;
|
||||
polarity = "dark";
|
||||
base16Scheme = ../../stylix/zenwritten-dark.yaml;
|
||||
image = pkgs.runCommand "solid-bg.png" { nativeBuildInputs = [ pkgs.imagemagick ]; } ''
|
||||
magick -size 1x1 xc:#191919 $out
|
||||
'';
|
||||
fonts = {
|
||||
monospace = {
|
||||
package = pkgs.iosevka-bin.override { variant = "SS08"; };
|
||||
name = "Iosevka Term SS08";
|
||||
};
|
||||
serif = {
|
||||
package = pkgs.dejavu_fonts;
|
||||
name = "DejaVu Serif";
|
||||
};
|
||||
sansSerif = {
|
||||
package = pkgs.dejavu_fonts;
|
||||
name = "DejaVu Sans";
|
||||
};
|
||||
};
|
||||
targets = {
|
||||
firefox.profileNames = [ "default" ];
|
||||
gnome.enable = false;
|
||||
gtk.enable = false;
|
||||
kitty.enable = false;
|
||||
nixvim.enable = false;
|
||||
waybar.enable = false;
|
||||
};
|
||||
};
|
||||
}
|
||||
Reference in New Issue
Block a user