mirror of
https://github.com/nix-community/home-manager
synced 2024-11-27 13:39:46 +01:00
Previously, home-manager would not create a user.js for a certain profile if profile.bookmarks was not empty but profile.settings was empty and profile.extraConfig was an empty string.
This commit is contained in:
parent
f23073f1da
commit
de54d513c7
1 changed files with 2 additions and 2 deletions
|
@ -370,8 +370,8 @@ in {
|
||||||
"${profilesPath}/${profile.path}/chrome/userContent.css" =
|
"${profilesPath}/${profile.path}/chrome/userContent.css" =
|
||||||
mkIf (profile.userContent != "") { text = profile.userContent; };
|
mkIf (profile.userContent != "") { text = profile.userContent; };
|
||||||
|
|
||||||
"${profilesPath}/${profile.path}/user.js" =
|
"${profilesPath}/${profile.path}/user.js" = mkIf (profile.settings != { }
|
||||||
mkIf (profile.settings != { } || profile.extraConfig != "") {
|
|| profile.extraConfig != "" || profile.bookmarks != { }) {
|
||||||
text =
|
text =
|
||||||
mkUserJs profile.settings profile.extraConfig profile.bookmarks;
|
mkUserJs profile.settings profile.extraConfig profile.bookmarks;
|
||||||
};
|
};
|
||||||
|
|
Loading…
Reference in a new issue