Commit 4a14d1e0 authored by Felix Buehler's avatar Felix Buehler
Browse files

nixos/photoprism: disallow passwords in store

parent 771a0ec7
Loading
Loading
Loading
Loading
+12 −2
Original line number Diff line number Diff line
@@ -33,7 +33,12 @@ in
    enable = lib.mkEnableOption "Photoprism web server";

    passwordFile = lib.mkOption {
      type = lib.types.nullOr lib.types.path;
      type = lib.types.nullOr (
        lib.types.pathWith {
          inStore = false;
          absolute = true;
        }
      );
      default = null;
      description = ''
        Admin password file.
@@ -41,7 +46,12 @@ in
    };

    databasePasswordFile = lib.mkOption {
      type = lib.types.nullOr lib.types.path;
      type = lib.types.nullOr (
        lib.types.pathWith {
          inStore = false;
          absolute = true;
        }
      );
      default = null;
      description = ''
        Database password file.