nixos/shill: Add MinIO container

This commit is contained in:
2022-07-16 15:01:15 +01:00
parent 55da6aa276
commit accb14721d
21 changed files with 154 additions and 18 deletions

View File

@@ -298,6 +298,15 @@ in
(persistSimpleSvc "jackett")
(persistSimpleSvc "radarr")
(persistSimpleSvc "sonarr")
(mkIf config.services.minio.enable {
my.tmproot.persistence.config.directories = [
{
directory = config.services.minio.configDir;
user = "minio";
group = "minio";
}
];
})
(mkIf config.my.build.isDevVM {
fileSystems = mkVMOverride {
# Hijack the "root" device for persistence in the VM