diff options
Diffstat (limited to 'nixos/modules/programs/ladybird.nix')
-rw-r--r-- | nixos/modules/programs/ladybird.nix | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/nixos/modules/programs/ladybird.nix b/nixos/modules/programs/ladybird.nix new file mode 100644 index 000000000000..43bfe445ef58 --- /dev/null +++ b/nixos/modules/programs/ladybird.nix @@ -0,0 +1,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; + }; +} |