1
0
Fork 0
mirror of https://github.com/nix-community/home-manager.git synced 2024-12-14 11:57:55 +00:00

Revert "firefox: only add Version = 2 on non-darwin"

launchd module now creates a service that will initialize gui app
environment with sessionVariables injected by modules. Firefox module
will inject MOZ_* variables needed to handle Version=2 in the
profiles.ini config now. This makes special handling for darwin here
unnecessary.

This reverts commit b5e09b85f2.
This commit is contained in:
Ihar Hrachyshka 2024-09-21 13:45:49 -04:00
parent a2bbd84dc2
commit d58239f42b

View file

@ -61,8 +61,7 @@ let
}) // {
General = {
StartWithLastProfile = 1;
} // lib.optionalAttrs (cfg.profileVersion == null) {
Version = cfg.profileVersion;
Version = 2;
};
};
@ -343,13 +342,6 @@ in {
};
});
profileVersion = mkOption {
internal = true;
type = types.nullOr types.ints.unsigned;
default = if isDarwin then null else 2;
description = "profile version, set null for nix-darwin";
};
profiles = mkOption {
inherit visible;
type = types.attrsOf (types.submodule ({ config, name, ... }: {