mirror of
https://github.com/NixOS/nixpkgs.git
synced 2024-11-26 17:03:01 +00:00
15 lines
295 B
Nix
15 lines
295 B
Nix
{ 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;
|
|
};
|
|
}
|