From dc2842a807cf40ba7f62af298b01022198eb73d2 Mon Sep 17 00:00:00 2001 From: Constantin Gierczak--Galle Date: Thu, 21 Nov 2024 19:38:29 +0100 Subject: [PATCH] fix(photo01): reenable nginx --- machines/photo01/_configuration.nix | 28 ++-------------------------- 1 file changed, 2 insertions(+), 26 deletions(-) diff --git a/machines/photo01/_configuration.nix b/machines/photo01/_configuration.nix index 5faeb18..f6c08a7 100644 --- a/machines/photo01/_configuration.nix +++ b/machines/photo01/_configuration.nix @@ -9,8 +9,9 @@ in ./_hardware-configuration.nix # NOTE: For now, only deploy the bare minimum - ./photoprism.nix ./immich.nix + ./nginx.nix + ./photoprism.nix ]; deployment.targetHost = address; @@ -53,29 +54,4 @@ in }; }; }; - - # TODO: switch to unixsockets if supported - - nix = { - settings = { - trusted-users = [ - "@wheel" - "root" - "nix-ssh" - ]; - auto-optimise-store = true; - }; - #package = pkgs.nixUnstable; - extraOptions = - let - empty_registry = builtins.toFile "empty-flake-registry.json" ''{"flakes":[],"version":2}''; - in - '' - experimental-features = nix-command flakes - flake-registry = ${empty_registry} - builders-use-substitutes = true - ''; - registry.nixpkgs.flake = inputs.nixpkgs; - nixPath = [ "nixpkgs=${inputs.nixpkgs}" ]; - }; }