firefox: Always create profile directories

Write ".keep" file in profile dir for each profile regardless of any
other settings to creare profile dir.
This commit is contained in:
Rosario Pulella 2021-05-24 11:28:12 -04:00 committed by Robert Helgesson
parent 90493027e3
commit b840707a87
No known key found for this signature in database
GPG key ID: 36BDAA14C2797E89
2 changed files with 10 additions and 1 deletions

View file

@ -318,6 +318,8 @@ in
};
}]
++ flip mapAttrsToList cfg.profiles (_: profile: {
"${profilesPath}/${profile.path}/.keep".text = "";
"${profilesPath}/${profile.path}/chrome/userChrome.css" =
mkIf (profile.userChrome != "") {
text = profile.userChrome;