Format with nixfmt-rfc

This commit is contained in:
DashieTM 2024-08-25 19:10:41 +02:00
parent 8c9f699269
commit a90a9c3a8e
60 changed files with 1756 additions and 1039 deletions

View file

@ -1,4 +1,11 @@
{ lib, config, options, pkgs, ... }: {
{
lib,
config,
options,
pkgs,
...
}:
{
options.mods.firefox = {
enable = lib.mkOption {
default = true;
@ -56,8 +63,8 @@
description = "Firefox extensions (from nur)";
};
};
config = lib.mkIf config.mods.firefox.enable
(lib.optionalAttrs (options ? programs.firefox.profiles) {
config = lib.mkIf config.mods.firefox.enable (
lib.optionalAttrs (options ? programs.firefox.profiles) {
programs.firefox = {
enable = true;
policies = config.mods.firefox.configuration;
@ -72,5 +79,6 @@
extensions = config.mods.firefox.extensions;
};
};
});
}
);
}