dotfiles/os/style/default.nix
2024-03-26 16:18:17 +01:00

23 lines
697 B
Nix

{ pkgs, lib, config, stylix, ... }:
{
config = {
boot = {
plymouth.enable = true;
initrd.systemd.enable = true;
};
stylix = {
homeManagerIntegration.autoImport = false; # Makes config reuse easier
polarity = "dark";
targets.plymouth.logo = pkgs.runCommand "flower.png" { } "${pkgs.inkscape}/bin/inkscape ${pkgs.substituteAll {
src = ./flower.svg;
color = config.lib.stylix.colors.withHashtag.base07;
}} -w 256 -o $out";
# UPST Default grub font is sansSerif, which doesn't work.
# Maybe because people patch mono with nerdfonts and that isn't compatible?
};
};
imports = [
stylix.nixosModules.stylix
];
}