Skip to content

Commit

Permalink
nixos/ladybird: init
Browse files Browse the repository at this point in the history
(cherry picked from commit 899c542)
  • Loading branch information
fgaz committed May 31, 2024
1 parent c41846f commit d4a08c1
Show file tree
Hide file tree
Showing 2 changed files with 15 additions and 0 deletions.
1 change: 1 addition & 0 deletions nixos/modules/module-list.nix
Original file line number Diff line number Diff line change
Expand Up @@ -218,6 +218,7 @@
./programs/kbdlight.nix
./programs/kclock.nix
./programs/kdeconnect.nix
./programs/ladybird.nix
./programs/lazygit.nix
./programs/kubeswitch.nix
./programs/less.nix
Expand Down
14 changes: 14 additions & 0 deletions nixos/modules/programs/ladybird.nix
Original file line number Diff line number Diff line change
@@ -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;
};
}

0 comments on commit d4a08c1

Please sign in to comment.