mirror of
https://github.com/JulienMalka/snowfield.git
synced 2025-06-08 10:09:04 +02:00
create firefox module
This commit is contained in:
parent
1541d64080
commit
9a707302c3
4 changed files with 28 additions and 0 deletions
25
home-manager-modules/firefox/default.nix
Normal file
25
home-manager-modules/firefox/default.nix
Normal file
|
@ -0,0 +1,25 @@
|
|||
{ 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;
|
||||
profiles.default = {
|
||||
extensions = with pkgs.nur.repos.rycee.firefox-addons; [
|
||||
bitwarden
|
||||
ublock-origin
|
||||
];
|
||||
|
||||
};
|
||||
};
|
||||
|
||||
};
|
||||
}
|
Loading…
Add table
Add a link
Reference in a new issue