diff options
author | Francesco Gazzetta | 2024-05-31 10:50:51 +0200 |
---|---|---|
committer | Francesco Gazzetta | 2024-05-31 17:19:23 +0000 |
commit | d4a08c14ed06b42c32b5437f33ba55bc3b80c0d9 (patch) | |
tree | c4cbb7c673aec2ab26e68d3c2b74ea67b8966235 | |
parent | c41846f7587a15ba188d63294f1f1c5cca5ed9a5 (diff) |
nixos/ladybird: init
(cherry picked from commit 899c54229146f9c980b5e5811cb6250834d868db)
-rw-r--r-- | nixos/modules/module-list.nix | 1 | ||||
-rw-r--r-- | nixos/modules/programs/ladybird.nix | 14 |
2 files changed, 15 insertions, 0 deletions
diff --git a/nixos/modules/module-list.nix b/nixos/modules/module-list.nix index 3a59e1245505..a23d3a52bdd5 100644 --- a/nixos/modules/module-list.nix +++ b/nixos/modules/module-list.nix @@ -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 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; + }; +} |