mirror of
https://github.com/hyprwm/Hyprland
synced 2024-11-02 14:45:59 +01:00
NixOS module: check system version for fonts
This commit is contained in:
parent
a805905a49
commit
bf0d8ab4a3
1 changed files with 5 additions and 1 deletions
|
@ -72,7 +72,11 @@ in {
|
|||
};
|
||||
};
|
||||
|
||||
fonts.enableDefaultPackages = mkDefault true;
|
||||
fonts =
|
||||
if versionOlder config.system.stateVersion "23.11"
|
||||
then {enableDefaultFonts = mkDefault true;}
|
||||
else {enableDefaultPackages = mkDefault true;};
|
||||
|
||||
hardware.opengl.enable = mkDefault true;
|
||||
|
||||
programs = {
|
||||
|
|
Loading…
Reference in a new issue