update system

This commit is contained in:
2025-07-28 20:33:33 +02:00
parent 3fd867084a
commit e414e3ac7b
8 changed files with 58 additions and 18 deletions

View File

@@ -8,6 +8,7 @@
./fonts/fira-code.nix
./fonts/noto-sans.nix
./fonts/nerd-fonts.nix
./fonts/open-dyslexic.nix
./hardware/hid-fanatecff.nix
./hardware/astro-a50.nix

View File

@@ -0,0 +1,40 @@
{
pkgs,
lib,
config,
...
}:
with lib;
let
cfg = config.fonts.open-dyslexic;
in
{
options.fonts.open-dyslexic = {
enable = mkEnableOption "Enable the OpenDyslexic font";
default = mkOption {
type = types.bool;
description = "Make Noto Sans the default sans-serif font";
default = false;
};
};
config = mkIf cfg.enable {
fonts = {
packages =
with pkgs;
[
open-dyslexic
]
++ (if (config.fonts.nerd-fonts.enable) then [ nerd-fonts.open-dyslexic ] else [ ]);
fontconfig.defaultFonts = {
sansSerif = mkIf cfg.default [
(if (config.fonts.nerd-fonts.enable) then "OpenDyslexic Nerd Font" else "OpenDyslexic")
];
monospace = mkIf cfg.default [
(if (config.fonts.nerd-fonts.enable) then "OpenDyslexicM Nerd Font" else "OpenDyslexicM")
];
};
};
};
}

View File

@@ -35,7 +35,6 @@ in
pkgs: with pkgs; [
libgudev
libvdpau
libsoup_2_4
];
})
rpcs3