about summary refs log tree commit diff
diff options
context:
space:
mode:
-rw-r--r--machines/t14/default.nix7
-rw-r--r--modules/obsidian-livesync.nix4
2 files changed, 2 insertions, 9 deletions
diff --git a/machines/t14/default.nix b/machines/t14/default.nix
index 69b8c64..acb9b2c 100644
--- a/machines/t14/default.nix
+++ b/machines/t14/default.nix
@@ -4,7 +4,6 @@
 		[ # 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
@@ -14,12 +13,6 @@
 	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";
 
diff --git a/modules/obsidian-livesync.nix b/modules/obsidian-livesync.nix
index 17f3a1c..5841202 100644
--- a/modules/obsidian-livesync.nix
+++ b/modules/obsidian-livesync.nix
@@ -72,8 +72,8 @@ in
 		services.nginx = {
 			enable = true;
 			virtualHosts.${cfg.domain} = {
-#				enableACME = true;
-#				forceSSL = true;
+				enableACME = true;
+				forceSSL = true;
 				locations."/" = {
 					proxyPass = "http://127.0.0.1:${toString couchdb-port}";
 			        	extraConfig = ''