nixos: services: paperless: persist data

This commit is contained in:
Bruno BELANYI 2021-11-03 17:12:42 +01:00
parent ed1a5b4924
commit 89a43e8bad

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