16 lines
266 B
Nix
16 lines
266 B
Nix
{ config, lib, pkgs, ... }:
|
|
|
|
with lib;
|
|
with lib.my;
|
|
let cfg = config.modules.desktop.firefox;
|
|
in {
|
|
options.modules.desktop.firefox = {
|
|
enable = mkBoolOpt false;
|
|
};
|
|
|
|
config = mkIf cfg.enable {
|
|
home.programs.firefox = {
|
|
enable = true;
|
|
};
|
|
};
|
|
} |