refactor: moved subdomain options into proxy file

This commit is contained in:
Leyla Becker 2025-09-16 10:44:00 -05:00
parent dfdd6bcc82
commit 9b02e30080
16 changed files with 84 additions and 73 deletions

View file

@ -1,4 +1,4 @@
{lib, ...}: {
{...}: {
imports = [
./proxy.nix
./database.nix
@ -6,14 +6,6 @@
./impermanence.nix
];
options.services.immich = {
subdomain = lib.mkOption {
type = lib.types.str;
description = "subdomain of base domain that immich will be hosted at";
default = "immich";
};
};
# NOTE: This shouldn't be needed now that we are out of testing
# config = lib.mkIf config.services.immich.enable {
# networking.firewall.interfaces.${config.services.tailscale.interfaceName} = {