use bind mounts for .mozilla and .thunderbird instead of symlinks
This commit is contained in:
parent
60255d49f3
commit
609ccb4a3d
4 changed files with 8 additions and 55 deletions
|
@ -4,6 +4,7 @@
|
||||||
./steam
|
./steam
|
||||||
./kodi/system-config.nix
|
./kodi/system-config.nix
|
||||||
./pipewire.nix
|
./pipewire.nix
|
||||||
|
./firefox/system.nix
|
||||||
];
|
];
|
||||||
home-manager.users.darkkirb.imports =
|
home-manager.users.darkkirb.imports =
|
||||||
if config.isGraphical then
|
if config.isGraphical then
|
||||||
|
|
|
@ -151,30 +151,4 @@ in
|
||||||
message = ''Extension ${k} has unaccepted permissions: ${builtins.toJSON unaccepted}'';
|
message = ''Extension ${k} has unaccepted permissions: ${builtins.toJSON unaccepted}'';
|
||||||
}
|
}
|
||||||
) extensions;
|
) extensions;
|
||||||
home.persistence.default.directories = map (f: ".mozilla/firefox/default/${f}") [
|
|
||||||
"extension-store"
|
|
||||||
"extension-store-menus"
|
|
||||||
"storage"
|
|
||||||
"settings"
|
|
||||||
"security_state"
|
|
||||||
];
|
|
||||||
home.persistence.default.files = map (f: ".mozilla/firefox/default/${f}") [
|
|
||||||
"addons.json"
|
|
||||||
"cookies.sqlite"
|
|
||||||
"extension-preferences.json"
|
|
||||||
"extension-settings.json"
|
|
||||||
"favicons.sqlite"
|
|
||||||
"formhistory.sqlite"
|
|
||||||
"key4.db"
|
|
||||||
"permissions.sqlite"
|
|
||||||
"places.sqlite"
|
|
||||||
"protections.sqlite"
|
|
||||||
"prefs.js"
|
|
||||||
"storage.sqlite"
|
|
||||||
"storage-sync-v2.sqlite"
|
|
||||||
"storage-sync-v2.sqlite-shm"
|
|
||||||
"storage-sync-v2.sqlite-wal"
|
|
||||||
"webappsstore.sqlite"
|
|
||||||
"webappsstore.sqlite-wal"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
7
programs/desktop/firefox/system.nix
Normal file
7
programs/desktop/firefox/system.nix
Normal file
|
@ -0,0 +1,7 @@
|
||||||
|
{ ... }:
|
||||||
|
{
|
||||||
|
environment.persistence."/persistent".directories = [
|
||||||
|
"/home/darkkirb/.mozilla"
|
||||||
|
"/home/darkkirb/.thunderbird"
|
||||||
|
];
|
||||||
|
}
|
|
@ -54,33 +54,4 @@
|
||||||
withExternalGnupg = true;
|
withExternalGnupg = true;
|
||||||
};
|
};
|
||||||
};
|
};
|
||||||
home.persistence.default.directories = map (f: ".thunderbird/default/${f}") [
|
|
||||||
"calendar-data"
|
|
||||||
"ImapMail"
|
|
||||||
"Mail"
|
|
||||||
"settings"
|
|
||||||
"storage"
|
|
||||||
];
|
|
||||||
home.persistence.default.files = map (f: ".thunderbird/default/${f}") [
|
|
||||||
"abook.sqlite"
|
|
||||||
"blist.sqlite"
|
|
||||||
"content-prefs.sqlite"
|
|
||||||
"cookies.sqlite"
|
|
||||||
"extension-preferences.json"
|
|
||||||
"extensions.json"
|
|
||||||
"favicons.sqlite"
|
|
||||||
"folderTree.json"
|
|
||||||
"formhistory.sqlite"
|
|
||||||
"global-messages-db.sqlite"
|
|
||||||
"history.sqlite"
|
|
||||||
"key4.db"
|
|
||||||
"logins.json"
|
|
||||||
"mailViews.dat"
|
|
||||||
"openpgp.sqlite"
|
|
||||||
"permissions.sqlite"
|
|
||||||
"places.sqlite"
|
|
||||||
"prefs.js"
|
|
||||||
"storage.sqlite"
|
|
||||||
"virtualFolders.dat"
|
|
||||||
];
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue