mirror of
https://github.com/nix-community/home-manager.git
synced 2025-12-06 00:51:04 +01:00
firefox: fix missing lib (#6744)
This commit is contained in:
parent
c21383b556
commit
55cf1f1632
1 changed files with 20 additions and 22 deletions
|
|
@ -385,33 +385,31 @@ in {
|
||||||
};
|
};
|
||||||
|
|
||||||
bookmarks = mkOption {
|
bookmarks = mkOption {
|
||||||
type = (with types;
|
type = (types.coercedTo bookmarkTypes.settingsType (bookmarks:
|
||||||
coercedTo bookmarkTypes.settingsType (bookmarks:
|
if bookmarks != { } then
|
||||||
if bookmarks != { } then
|
lib.warn ''
|
||||||
warn ''
|
${cfg.name} bookmarks have been refactored into a submodule that now explicitly require a 'force' option to be enabled.
|
||||||
${cfg.name} bookmarks have been refactored into a submodule that now explicitly require a 'force' option to be enabled.
|
|
||||||
|
|
||||||
Replace:
|
Replace:
|
||||||
|
|
||||||
${moduleName}.profiles.${name}.bookmarks = [ ... ];
|
${moduleName}.profiles.${name}.bookmarks = [ ... ];
|
||||||
|
|
||||||
With:
|
With:
|
||||||
|
|
||||||
${moduleName}.profiles.${name}.bookmarks = {
|
${moduleName}.profiles.${name}.bookmarks = {
|
||||||
force = true;
|
|
||||||
settings = [ ... ];
|
|
||||||
};
|
|
||||||
'' {
|
|
||||||
force = true;
|
force = true;
|
||||||
settings = bookmarks;
|
settings = [ ... ];
|
||||||
}
|
};
|
||||||
else
|
'' {
|
||||||
{ }) (submodule ({ config, ... }:
|
force = true;
|
||||||
import ./profiles/bookmarks.nix {
|
settings = bookmarks;
|
||||||
inherit config lib pkgs;
|
}
|
||||||
modulePath = modulePath
|
else
|
||||||
++ [ "profiles" name "bookmarks" ];
|
{ }) (types.submodule ({ config, ... }:
|
||||||
})));
|
import ./profiles/bookmarks.nix {
|
||||||
|
inherit config lib pkgs;
|
||||||
|
modulePath = modulePath ++ [ "profiles" name "bookmarks" ];
|
||||||
|
})));
|
||||||
default = { };
|
default = { };
|
||||||
internal = !enableBookmarks;
|
internal = !enableBookmarks;
|
||||||
description = "Declarative bookmarks.";
|
description = "Declarative bookmarks.";
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue