Add all of iogamaster modules
This commit is contained in:
29
modules/nixos/apps/firefox/default.nix
Normal file
29
modules/nixos/apps/firefox/default.nix
Normal file
@@ -0,0 +1,29 @@
|
||||
{
|
||||
options,
|
||||
config,
|
||||
pkgs,
|
||||
lib,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
with lib.frajul;
|
||||
let
|
||||
cfg = config.apps.firefox;
|
||||
in
|
||||
{
|
||||
options.apps.firefox = with types; {
|
||||
enable = mkBoolOpt false "Enable or disable firefox browser";
|
||||
};
|
||||
|
||||
config = mkIf cfg.enable {
|
||||
home.programs.firefox = {
|
||||
enable = true;
|
||||
package = pkgs.librewolf;
|
||||
};
|
||||
|
||||
home.persist.directories = [
|
||||
".librewolf"
|
||||
".cache/librewolf"
|
||||
];
|
||||
};
|
||||
}
|
Reference in New Issue
Block a user