nixos: services: paperless: persist data

This commit is contained in:
Bruno BELANYI 2021-11-03 17:12:42 +01:00
parent b891b6c131
commit 2fe4dc1c80

View file

@ -146,5 +146,10 @@ in
config.services.paperless.mediaDir config.services.paperless.mediaDir
]; ];
}; };
my.system.persist.directories = [
config.services.paperless-ng.dataDir
config.services.paperless-ng.mediaDir
];
}; };
} }