chore: nix fmt
This commit is contained in:
parent
a80bd4ed3b
commit
7266fff06e
128 changed files with 3402 additions and 2013 deletions
|
@ -1,9 +1,14 @@
|
|||
{ pkgs
|
||||
, lib
|
||||
, config
|
||||
, ... }: with lib; let
|
||||
{
|
||||
pkgs,
|
||||
lib,
|
||||
config,
|
||||
...
|
||||
}:
|
||||
with lib;
|
||||
let
|
||||
cfg = config.services.photoview;
|
||||
in {
|
||||
in
|
||||
{
|
||||
options.services.photoview = {
|
||||
enable = mkEnableOption "photoview server";
|
||||
|
||||
|
@ -39,7 +44,13 @@ in {
|
|||
|
||||
database = {
|
||||
driver = mkOption {
|
||||
type = with types; enum [ "sqlite" "mysql" "postgres" ];
|
||||
type =
|
||||
with types;
|
||||
enum [
|
||||
"sqlite"
|
||||
"mysql"
|
||||
"postgres"
|
||||
];
|
||||
default = "sqlite";
|
||||
description = "database driver";
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue