about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
Diffstat (limited to 'machines')
-rw-r--r--machines/srv3/configuration.nix7
-rw-r--r--machines/t14/default.nix7
2 files changed, 14 insertions, 0 deletions
diff --git a/machines/srv3/configuration.nix b/machines/srv3/configuration.nix
index 8438826..197aec6 100644
--- a/machines/srv3/configuration.nix
+++ b/machines/srv3/configuration.nix
@@ -8,11 +8,18 @@ in
   {
     imports =
       [
+      ../../modules/obsidian-livesync.nix
       ./hardware-configuration.nix
       ./cgit.nix
       ./noip.nix
     ];
 
+    services.obsidian-livesync = {
+    	enable = true;
+	domain = "obsidian.niedzwiedzinski.cyou";
+	couchdb.adminPass = "123";
+    };
+
     boot.loader.grub.enable = true;
     boot.loader.grub.device = "/dev/sda"; # or "nodev" for efi only
 
diff --git a/machines/t14/default.nix b/machines/t14/default.nix
index acb9b2c..69b8c64 100644
--- a/machines/t14/default.nix
+++ b/machines/t14/default.nix
@@ -4,6 +4,7 @@
 		[ # Include the results of the hardware scan.
 		../base.nix
 		../../modules/media-drive.nix
+		../../modules/obsidian-livesync.nix
 		../x220-gnome/pass.nix
 		./hardware-configuration.nix
 		../x220-gnome/pn.nix
@@ -13,6 +14,12 @@
 	networking.networkmanager.enable = true;
 	networking.hostName = "t14";
 
+	services.obsidian-livesync = {
+		enable = true;
+		domain = "test.localhost";
+		couchdb.adminPass = "123";
+	};
+
 # Set your time zone.
 	time.timeZone = "Europe/Warsaw";