mirror of
https://github.com/NixOS/nixpkgs.git
synced 2025-06-11 04:05:40 +03:00
21 lines
303 B
Nix
21 lines
303 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;
|
||
|
};
|
||
|
}
|