nixos: services: paperless: persist data

This commit is contained in:
Bruno BELANYI 2021-11-03 17:12:42 +01:00
parent 61a6208087
commit c0dc0b2a54

View file

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