mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-03-28 23:00:58 +01:00
18 lines
295 B
Nix
18 lines
295 B
Nix
{ config, pkgs, lib, ... }:
|
|
let
|
|
cfg = config.luj.programs.firefox;
|
|
in
|
|
with lib;
|
|
{
|
|
options.luj.programs.firefox = {
|
|
enable = mkEnableOption "Enable Firefox";
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
programs.firefox = {
|
|
enable = true;
|
|
package = pkgs.firefox-esr;
|
|
};
|
|
|
|
};
|
|
}
|