Refactor modules style

This commit is contained in:
Julia Lange 2024-04-07 17:08:48 -07:00
parent ed2a7f94cf
commit cc95386f1a
44 changed files with 455 additions and 297 deletions

View file

@ -0,0 +1,12 @@
{ config, pkgs, lib, ... }:
{
options = {
librewolf.enable = lib.mkEnableOption "Enables librewolf";
};
config = lib.mkIf config.librewolf.enable {
environment.variables.BROWSER = "librewolf";
environment.systemPackages = with pkgs; [ librewolf ];
};
}