nixos/modules/desktop/browsers/firefox/default.nix

17 lines
294 B
Nix
Raw Normal View History

2023-07-09 02:06:28 +04:00
{ options, config, lib, pkgs, ...}:
with lib;
let
cfg = config.modules.desktop.browsers.firefox;
in
{
2023-07-09 02:06:28 +04:00
options.modules.desktop.browsers.firefox = {
enable = mkEnableOption false;
};
config = mkIf cfg.enable {
users.users.sako.packages = with pkgs; [
firefox
];
};
}