📦 Moved more configs to common files, and refactored code with common

This commit is contained in:
2025-01-08 19:47:02 +01:00
parent 57ebb73095
commit 89acd3e5cb
15 changed files with 317 additions and 243 deletions

View File

@ -5,15 +5,19 @@
font-awesome # Icons
];
fonts = {
fontconfig.enable = true;
packages = with pkgs; [
(nerdfonts.override { fonts = [ "JetBrainsMono" ]; })
jetbrains-mono
# The line below will replace the lines above in 25.05
# nerd-fonts.jetbrains-mono
font-awesome
];
};
fonts =
let
theme = import ../theme.nix;
in
{
fontconfig.enable = true;
packages = with pkgs; [
(nerdfonts.override { fonts = [ theme.nerdFont ]; })
jetbrains-mono
# The line below will replace the lines above in 25.05
# nerd-fonts.jetbrains-mono
font-awesome
];
};
}

View File

@ -1,5 +1,3 @@
{ ... }:
# TODO move locale config for hyprland here
let
utf-8 = "UTF-8";

View File

@ -7,7 +7,7 @@ in
environment.systemPackages = with pkgs; [
(catppuccin-sddm.override {
flavor = flavor;
font = "JetBrainsMono";
font = theme.nerdFont;
fontSize = "9";
background = "${../catppuccin_high.png}";
loginBackground = true;