add ladybird
This commit is contained in:
parent
604b6ddca4
commit
2248891dea
2 changed files with 18 additions and 1 deletions
|
@ -50,8 +50,8 @@
|
|||
|
||||
browsers = {
|
||||
default = "chromium";
|
||||
# firefox.enable = true;
|
||||
chrome.enable = true;
|
||||
ladybird.enable = true;
|
||||
};
|
||||
|
||||
games = {
|
||||
|
|
17
modules/home/desktop/browsers/ladybird.nix
Normal file
17
modules/home/desktop/browsers/ladybird.nix
Normal 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
|
||||
];
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue