modules: services: podgrab: persist data

This commit is contained in:
Bruno BELANYI 2021-11-05 15:20:11 +01:00
parent 690f59bbd1
commit a6611600ed

View file

@ -37,5 +37,10 @@ in
inherit (cfg) port;
}
];
my.system.persist.directories =
builtins.map
(d: "/var/lib/${d}")
config.systemd.services.podgrab.serviceConfig.StateDirectory;
};
}