scope persist files
This commit is contained in:
parent
70902f6bbc
commit
4ec2b7567f
3 changed files with 56 additions and 5 deletions
|
@ -151,7 +151,30 @@ in
|
|||
message = ''Extension ${k} has unaccepted permissions: ${builtins.toJSON unaccepted}'';
|
||||
}
|
||||
) extensions;
|
||||
home.persistence.default.directories = [
|
||||
".mozilla"
|
||||
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"
|
||||
"webappstore.sqlite"
|
||||
"webappstore.sqlite-wal"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -54,7 +54,33 @@
|
|||
withExternalGnupg = true;
|
||||
};
|
||||
};
|
||||
home.persistence.default.directories = [
|
||||
".thunderbird"
|
||||
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"
|
||||
];
|
||||
}
|
||||
|
|
|
@ -17,8 +17,10 @@
|
|||
}
|
||||
];
|
||||
};
|
||||
home.persistence.default.files = [
|
||||
".local/share/fish/fish_history"
|
||||
];
|
||||
home.persistence.default.directories = [
|
||||
".local/share/fish"
|
||||
".local/share/direnv"
|
||||
];
|
||||
programs.nix-index.enable = true;
|
||||
|
|
Loading…
Reference in a new issue