-{ pkgs, lib, config, ... }:
+{ ... }:
let domain = "sourcephile.fr"; in
{
-imports = map (m: import m {inherit domain;}) [
- sourcephile.fr/cryptpad.nix
- sourcephile.fr/losurdo.nix
- sourcephile.fr/nix-serve.nix
-];
-security.acme.certs."${domain}" = {
- postRun = "systemctl reload nginx";
-};
-systemd.services.nginx = {
- wants = [ "acme-selfsigned-${domain}.service" "acme-${domain}.service"];
- after = [ "acme-selfsigned-${domain}.service" ];
-};
+ imports = map (m: import m { inherit domain; }) [
+ #sourcephile.fr/cryptpad.nix
+ #sourcephile.fr/losurdo.nix
+ #sourcephile.fr/nix-serve.nix
+ ];
+ security.acme.certs."${domain}" = {
+ postRun = "systemctl reload nginx";
+ };
+ systemd.services.nginx = {
+ wants = [ "acme-selfsigned-${domain}.service" "acme-${domain}.service" ];
+ after = [ "acme-selfsigned-${domain}.service" ];
+ };
}