fonts, steam: convert to nixos modules

This commit is contained in:
Katherina Walshe-Grey 2024-07-24 18:29:29 +01:00
parent 049e3ff091
commit e3068a144a
5 changed files with 35 additions and 15 deletions

View file

@ -1,7 +1,17 @@
{ config, lib, pkgs, ... }:
let
cfg = config.qenya.services.fonts;
inherit (lib) mkIf mkEnableOption;
in
{
fonts.packages = with pkgs; [
corefonts
];
options.qenya.services.fonts = {
enable = mkEnableOption "Fonts";
};
config = mkIf cfg.enable {
fonts.packages = with pkgs; [
corefonts
];
};
}