about summary refs log tree commit diff
path: root/nixos/modules/programs/ladybird.nix
blob: 43bfe445ef58e3939e737d39b545b5bb7d8608d2 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
{ config, pkgs, lib, ... }:

let
  cfg = config.programs.ladybird;
in {
  options = {
    programs.ladybird.enable = lib.mkEnableOption "the Ladybird web browser";
  };

  config = lib.mkIf cfg.enable {
    environment.systemPackages = [ pkgs.ladybird ];
    fonts.fontDir.enable = true;
  };
}