-{ pkgs, lib, config, ... }:
+{ ... }:
let domain = "sourcephile.fr"; in
{
-imports = map (m: import m {inherit domain;}) [
- sourcephile.fr/www.nix
- sourcephile.fr/git.nix
- #sourcephile.fr/lemoutona5pattes.nix
- #sourcephile.fr/covid19.nix
- sourcephile.fr/public-inbox.nix
- sourcephile.fr/whoami.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/www.nix
+ sourcephile.fr/git.nix
+ #sourcephile.fr/lemoutona5pattes.nix
+ #sourcephile.fr/covid19.nix
+ sourcephile.fr/public-inbox.nix
+ sourcephile.fr/whoami.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" ];
+ };
}