dotfiles/os/style/default.nix

34 lines
788 B
Nix
Raw Normal View History

2024-12-15 00:29:51 +01:00
{
pkgs,
lib,
config,
stylix,
...
}:
2024-01-27 00:23:38 +01:00
{
config = {
boot = {
plymouth.enable = true;
initrd.systemd.enable = true;
};
stylix = {
2024-12-15 00:29:51 +01:00
enable = true;
2024-01-27 00:23:38 +01:00
homeManagerIntegration.autoImport = false; # Makes config reuse easier
polarity = "dark";
2024-12-15 00:29:51 +01:00
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";
2024-01-27 00:23:38 +01:00
# 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
];
2024-01-27 00:23:38 +01:00
}