nixos: services: navidrome: persist data

This commit is contained in:
Bruno BELANYI 2021-11-05 15:11:23 +01:00
parent 6290554b90
commit db03432cea

View file

@ -52,5 +52,9 @@ in
inherit (cfg) port; inherit (cfg) port;
}; };
}; };
my.system.persist.directories = [
"/var/lib/${config.systemd.services.navidrome.serviceConfig.StateDirectory}"
];
}; };
} }