about summary refs log tree commit diff
path: root/nixos
diff options
context:
space:
mode:
authorWilliam Carroll <wpcarro@gmail.com>2020-08-14T08·16+0100
committerWilliam Carroll <wpcarro@gmail.com>2020-08-20T10·26+0100
commit2eb52379b6a9c77ea99b194658be9d634f09dfb8 (patch)
tree0c29141ce2406870c501fcd6f26554677f89ee02 /nixos
parent4a836f363b203b78dc6ff083051ec0f9a69f9941 (diff)
Use journaldriver to view journald logs from Socrates
Attempting to use @tazjin's delightful simple logging library!
Diffstat (limited to 'nixos')
-rw-r--r--nixos/socrates/configuration.nix7
1 files changed, 7 insertions, 0 deletions
diff --git a/nixos/socrates/configuration.nix b/nixos/socrates/configuration.nix
index 65084d29ca81..7c0bedb83159 100644
--- a/nixos/socrates/configuration.nix
+++ b/nixos/socrates/configuration.nix
@@ -106,6 +106,13 @@ in {
     ];
   };
 
+  services.journaldriver = {
+    enable = true;
+    logStream = "home";
+    googleCloudProject = "wpcarros-infrastructure";
+    applicationCredentials = "/etc/gcp/key.json";
+  };
+
   services.openssh.enable = true;
 
   services.gitea = {