add ladybird

This commit is contained in:
Chris Kruining 2025-05-04 17:19:13 +02:00
parent 604b6ddca4
commit 2248891dea
Signed by: chris
SSH key fingerprint: SHA256:nG82MUfuVdRVyCKKWqhY+pCrbz9nbX6uzUns4RKa1Pg
2 changed files with 18 additions and 1 deletions

View file

@ -50,8 +50,8 @@
browsers = {
default = "chromium";
# firefox.enable = true;
chrome.enable = true;
ladybird.enable = true;
};
games = {

View file

@ -0,0 +1,17 @@
{ config, lib, pkgs, user, ... }:
let
inherit (lib.options) mkEnableOption;
inherit (lib.modules) mkIf;
cfg = config.modules.${user}.desktop.browsers.ladybird;
in {
options.modules.${user}.desktop.browsers.ladybird = {
enable = mkEnableOption "Enable Ladybird";
};
config = mkIf cfg.enable {
environment.systemPackages = with pkgs; [
ladybird
];
};
}