about summary refs log tree commit diff
path: root/machines
diff options
context:
space:
mode:
authorPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-10-17 10:24:57 +0200
committerPatryk Niedźwiedziński <pniedzwiedzinski19@gmail.com>2024-10-17 10:24:57 +0200
commit64b853f016686efc2a14b20bef318ea322e8d370 (patch)
treef41360d4ebb23975933fe6d9fcfab06bdc623e7c /machines
parent2ecdfe59eb02cbc5c88bfd036a68bf0e363f2d6b (diff)
downloaddots-64b853f016686efc2a14b20bef318ea322e8d370.tar.gz
dots-64b853f016686efc2a14b20bef318ea322e8d370.zip
t14: 83 current 2024-10-17 10:24:44 24.05.20241004.6e6b3dd 6.6.54 *
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";