Update nix

This commit is contained in:
muon 2024-11-30 11:18:51 +00:00
parent b1f211e981
commit a3c3e3009c
2 changed files with 30 additions and 35 deletions

View file

@ -1,6 +1,5 @@
{ pkgs, lib, config, ... }:
let
cfg = config.mods.theme;
let cfg = config.mods.theme;
in {
options.mods.theme = {
enable = lib.mkEnableOption "enables stylix system theme";
@ -29,7 +28,7 @@ in {
stylix.fonts = {
monospace = {
package = pkgs.mononoki;
package = pkgs.nerd-fonts.mononoki;
name = "Mononoki Nerd Font";
};
emoji = {
@ -40,10 +39,6 @@ in {
sansSerif = config.stylix.fonts.monospace;
};
fonts.packages = with pkgs; [
openmoji-color
mononoki
(nerdfonts.override { fonts = [ "Mononoki" ]; })
];
fonts.packages = with pkgs; [ openmoji-color mononoki nerd-fonts.mononoki ];
};
}