nixosTests.photoprism: fix secret

This commit is contained in:
Felix Buehler
2025-11-02 08:33:50 +01:00
parent b03a8c8400
commit 86417f0737

View File

@@ -10,11 +10,14 @@
enable = true; enable = true;
port = 8080; port = 8080;
originalsPath = "/media/photos/"; originalsPath = "/media/photos/";
passwordFile = pkgs.writeText "password" "secret"; passwordFile = "/etc/photoprism-password";
};
environment = {
etc."photoprism-password".text = "secret";
extraInit = ''
mkdir -p /media/photos
'';
}; };
environment.extraInit = ''
mkdir -p /media/photos
'';
}; };
testScript = '' testScript = ''