summary refs log tree commit diff stats
path: root/system/services/rust-motd/default.nix
diff options
context:
space:
mode:
authorene <ene@sils.li>2023-03-25 14:32:56 +0100
committerene <ene@sils.li>2023-03-25 14:32:56 +0100
commit4758e5881daa1aa762c6e6e9734faea618dea70c (patch)
tree61a0fad167b4bcafafe0090e348c00c342994837 /system/services/rust-motd/default.nix
parentFix(system/services/rust-motd): Add fail2ban binary (diff)
downloadnixos-server-4758e5881daa1aa762c6e6e9734faea618dea70c.tar.gz
nixos-server-4758e5881daa1aa762c6e6e9734faea618dea70c.zip
Feat(system/services/rust-motd): Show status of ssl-certs
Diffstat (limited to '')
-rw-r--r--system/services/rust-motd/default.nix16
1 files changed, 8 insertions, 8 deletions
diff --git a/system/services/rust-motd/default.nix b/system/services/rust-motd/default.nix
index 4f65dce..100fcb4 100644
--- a/system/services/rust-motd/default.nix
+++ b/system/services/rust-motd/default.nix
@@ -54,14 +54,14 @@
       # [user_service_status]
       # gpg-agent = "gpg-agent"
 
-      #s_s_l_certs = {
-      # sort_method = "manual"
-      #
-      #    certs = {
-      #    CertName1 = "/path/to/cert1.pem"
-      #    CertName2 = "/path/to/cert2.pem"
-      # }
-      #};
+      s_s_l_certs = {
+        sort_method = "manual";
+
+        certs = {
+          server1.vhack.eu = "/var/lib/acme/server1.vhack.eu/cert.pem";
+          vhack.eu = "/var/lib/acme/vhack.eu/cert.pem";
+        };
+      };
 
       filesystems = {
         root = "/";