mirror of
https://github.com/nix-community/home-manager
synced 2024-11-23 03:29:45 +01: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:
parent
a2bbd84dc2
commit
d58239f42b
1 changed files with 1 additions and 9 deletions
|
@ -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, ... }: {
|
||||
|
|
Loading…
Reference in a new issue