feat(photo01): init #4

Merged
cst1 merged 19 commits from cst1/lab-infra:init_photo01 into main 2024-11-22 14:04:37 +01:00
2 changed files with 2 additions and 14 deletions
Showing only changes of commit f35d495073 - Show all commits

View file

@ -12,12 +12,10 @@ in
./photoprism.nix
./immich.nix
];
# Bootloader.
deployment.targetHost = address;
networking = {
hostName = "photoprism";
firewall.allowedTCPPorts = [
22
80
@ -25,19 +23,11 @@ in
8007
];
firewall.allowedUDPPorts = [ ];
useNetworkd = true;
};
disko.devices = import ./disko.nix;
deployment.targetHost = address;
# Set your time zone.
time.timeZone = "Europe/Paris";
environment.systemPackages = with pkgs; [ neovim ];
users.users.root.openssh.authorizedKeys.keys = [
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDMBW7rTtfZL9wtrpCVgariKdpN60/VeAzXkh9w3MwbO julien@enigma"
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKrijwPlb7KQkYPLznMPVzPPT69cLzhEsJzZi9tmxzTh cst1@x270"
@ -89,6 +79,4 @@ in
registry.nixpkgs.flake = inputs.nixpkgs;
nixPath = [ "nixpkgs=${inputs.nixpkgs}" ];
};
system.stateVersion = "24.05";
}

View file

@ -41,7 +41,7 @@
];
};
services.nginx.virtualHosts."photoprism.cgiga.fr" = {
nginx.virtualHosts."photoprism.cgiga.fr" = {
enableACME = true;
forceSSL = true;
serverAliases = [ ];