mirror of
https://github.com/nix-community/home-manager
synced 2024-12-23 18:29:47 +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" =
|
||||
mkIf (profile.userContent != "") { text = profile.userContent; };
|
||||
|
||||
"${profilesPath}/${profile.path}/user.js" =
|
||||
mkIf (profile.settings != { } || profile.extraConfig != "") {
|
||||
"${profilesPath}/${profile.path}/user.js" = mkIf (profile.settings != { }
|
||||
|| profile.extraConfig != "" || profile.bookmarks != { }) {
|
||||
text =
|
||||
mkUserJs profile.settings profile.extraConfig profile.bookmarks;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue