treewide: fix statix errors

This commit is contained in:
Felix Buehler 2023-11-07 23:13:51 +01:00
parent a4b8c2b8da
commit 743d7eead9
48 changed files with 72 additions and 82 deletions

View file

@ -2,7 +2,7 @@
{ config, lib, ... }:
let
cfg = config.my.services.photoprism;
domain = config.networking.domain;
inherit (config.networking) domain;
in
{
options.my.services.photoprism = {
@ -49,10 +49,7 @@ in
config = lib.mkIf cfg.enable {
services.photoprism = {
enable = true;
passwordFile = cfg.passwordFile;
port = cfg.port;
originalsPath = cfg.originalsPath;
settings = cfg.settings;
inherit (cfg) passwordFile port originalsPath settings;
};
my.services.nginx.virtualHosts = [