global/locale: init, refactored from modules/locale

This commit is contained in:
Infinidoge 2024-07-26 10:49:33 -04:00
parent 1645a8a3a8
commit 421d490af1
Signed by: Infinidoge
SSH key fingerprint: SHA256:oAMyvotlNFraMmZmr+p6AxnNfW/GioTs1pOn3V4tQ7A
3 changed files with 36 additions and 51 deletions

View file

@ -84,19 +84,20 @@ in
# in
# (lib.mkForce "${editorScript}/bin/emacseditor");
fonts.packages = with pkgs; [
(nerdfonts.override {
fonts = [ "DejaVuSansMono" "NerdFontsSymbolsOnly" ];
})
dejavu_fonts
emacs-all-the-icons-fonts
];
fonts.fontconfig.defaultFonts = {
monospace = [ "DejaVuSansMono" ];
};
modules = {
locale.fonts = {
fonts = with pkgs; [
(nerdfonts.override { fonts = config.modules.locale.fonts.defaults.monospace ++ [ "NerdFontsSymbolsOnly" ]; })
dejavu_fonts
emacs-all-the-icons-fonts
];
defaults = {
monospace = [ "DejaVuSansMono" ];
};
};
desktop.wm.qtile.enable = true;
};