feat: add home manager hyprland module to enable hyprland plugins

This commit is contained in:
DACHXY 2024-12-30 18:15:09 +08:00
parent 6997c5a968
commit 64499a5e90
30 changed files with 456 additions and 365 deletions

View file

@ -1,16 +1,17 @@
{ pkgs, ... }:
{ pkgs, nix-version, ... }:
let
nerdfont-pkg = if nix-version == "25.05" then pkgs.nerd-fonts.caskaydia-cove else (pkgs.nerdfonts.override { fonts = [ "CascadiaCode" ]; });
in
{
fonts.packages = with pkgs; [
fonts.packages = (with pkgs; [
font-awesome
jetbrains-mono
noto-fonts-cjk-sans
noto-fonts-cjk-serif
noto-fonts-emoji
# nerd-fonts.caskaydia-cove
(nerdfonts.override { fonts = [ "CascadiaCode" ]; })
];
]) ++ ([
nerdfont-pkg
]);
fonts.fontDir.enable = true;