nixos: services: paperless: persist data

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

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
];
}; };
} }