nixos: services: paperless: persist data

This commit is contained in:
Bruno BELANYI 2021-11-03 17:12:42 +01:00
parent c108c04ff8
commit 1d8c10ecf5

View file

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