forked from DGNum/lab-infra
fix(photo01): reenable nginx
This commit is contained in:
parent
055fdb9fcf
commit
dc2842a807
1 changed files with 2 additions and 26 deletions
|
@ -9,8 +9,9 @@ in
|
||||||
./_hardware-configuration.nix
|
./_hardware-configuration.nix
|
||||||
|
|
||||||
# NOTE: For now, only deploy the bare minimum
|
# NOTE: For now, only deploy the bare minimum
|
||||||
./photoprism.nix
|
|
||||||
./immich.nix
|
./immich.nix
|
||||||
|
./nginx.nix
|
||||||
|
./photoprism.nix
|
||||||
];
|
];
|
||||||
deployment.targetHost = address;
|
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}" ];
|
|
||||||
};
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue