diff --git a/hosts/manwe/users/chris/default.nix b/hosts/manwe/users/chris/default.nix index c65005f..96461c8 100644 --- a/hosts/manwe/users/chris/default.nix +++ b/hosts/manwe/users/chris/default.nix @@ -50,8 +50,8 @@ browsers = { default = "chromium"; - # firefox.enable = true; chrome.enable = true; + ladybird.enable = true; }; games = { diff --git a/modules/home/desktop/browsers/ladybird.nix b/modules/home/desktop/browsers/ladybird.nix new file mode 100644 index 0000000..b9f698f --- /dev/null +++ b/modules/home/desktop/browsers/ladybird.nix @@ -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 + ]; + }; +}