mirror of
https://github.com/ItsDrike/nixdots
synced 2025-06-29 08:20:43 +00:00
Support persisting data separately from config
This commit is contained in:
parent
4a10a3536a
commit
507f364e5b
3 changed files with 63 additions and 11 deletions
|
@ -53,14 +53,6 @@
|
|||
enable = true;
|
||||
persistentMountPoint = "/persist/home";
|
||||
extraDirectories = [
|
||||
# Nixos flake
|
||||
"dots"
|
||||
|
||||
# Personal data
|
||||
"Downloads"
|
||||
"Personal"
|
||||
"Media"
|
||||
|
||||
# Browsers
|
||||
".mozilla"
|
||||
".mullvad"
|
||||
|
@ -95,6 +87,20 @@
|
|||
".config/pcmanfm-qt/default/recent-files.conf"
|
||||
".config/qalculate/qalculate-gtk.cfg"
|
||||
];
|
||||
|
||||
persistentDataMountPoint = "/data/Data";
|
||||
extraDataDirectories = [
|
||||
# Nixos flake
|
||||
"dots"
|
||||
|
||||
# XDG user dirs
|
||||
"Downloads"
|
||||
"Media"
|
||||
|
||||
# Other personal data
|
||||
"Personal"
|
||||
];
|
||||
extraDataFiles = [];
|
||||
};
|
||||
|
||||
# Configure automatic root subvolume wiping on boot from initrd
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue