Compare commits
2 commits
183b10241f
...
5b36d052ed
Author | SHA1 | Date | |
---|---|---|---|
5b36d052ed | |||
8f0bb857d2 |
4 changed files with 9 additions and 6 deletions
1
.gitignore
vendored
Normal file
1
.gitignore
vendored
Normal file
|
@ -0,0 +1 @@
|
||||||
|
result
|
|
@ -26,12 +26,13 @@
|
||||||
services.openssh.enable = true;
|
services.openssh.enable = true;
|
||||||
users.users.root.openssh.authorizedKeys.keys = [
|
users.users.root.openssh.authorizedKeys.keys = [
|
||||||
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDMBW7rTtfZL9wtrpCVgariKdpN60/VeAzXkh9w3MwbO julien@enigma"
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIDMBW7rTtfZL9wtrpCVgariKdpN60/VeAzXkh9w3MwbO julien@enigma"
|
||||||
# TODO: add cst1's SSH key
|
"ssh-ed25519 AAAAC3NzaC1lZDI1NTE5AAAAIKrijwPlb7KQkYPLznMPVzPPT69cLzhEsJzZi9tmxzTh cst1@x270"
|
||||||
];
|
];
|
||||||
|
|
||||||
security.acme.acceptTerms = true;
|
security.acme.acceptTerms = true;
|
||||||
security.acme.defaults.email = "webmaster@nixos.org";
|
security.acme.defaults.email = "webmaster@nixos.org";
|
||||||
|
|
||||||
|
# TODO: open the right ports
|
||||||
networking.firewall.allowedTCPPorts = [
|
networking.firewall.allowedTCPPorts = [
|
||||||
80
|
80
|
||||||
443
|
443
|
||||||
|
|
|
@ -46,7 +46,7 @@
|
||||||
];
|
];
|
||||||
extraModules = [ inputs.colmena.nixosModules.deploymentOptions ];
|
extraModules = [ inputs.colmena.nixosModules.deploymentOptions ];
|
||||||
}
|
}
|
||||||
) { hashes = import ./configuration.nix; };
|
) { photoprism = import ./configuration.nix; };
|
||||||
|
|
||||||
colmena = {
|
colmena = {
|
||||||
meta = {
|
meta = {
|
||||||
|
|
|
@ -10,10 +10,11 @@
|
||||||
PHOTOPRISM_SITE_CAPTION = "PhotoPrism";
|
PHOTOPRISM_SITE_CAPTION = "PhotoPrism";
|
||||||
};
|
};
|
||||||
|
|
||||||
# TODO: public web address
|
originalsPath = "/photoprism/photos";
|
||||||
address = "photoprism.what?";
|
importPath = "/photoprism/imports";
|
||||||
|
|
||||||
# TODO: add admin password file (agenix?)
|
address = "localhost";
|
||||||
passwordFile = "";
|
|
||||||
|
passwordFile = "/passwords/photoprism";
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue