diff options
author | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2024-10-17 14:37:42 +0200 |
---|---|---|
committer | Patryk Niedźwiedziński <pniedzwiedzinski19@gmail.com> | 2024-10-17 14:37:42 +0200 |
commit | 63df6f75b532931a1353884a883fb8425455bc26 (patch) | |
tree | d101aa85b4971b2cca9b56f3b8e155c82edb5d90 | |
parent | 696ab47474618be8d24fe63e3e119eb2c863dca5 (diff) | |
download | dots-63df6f75b532931a1353884a883fb8425455bc26.tar.gz dots-63df6f75b532931a1353884a883fb8425455bc26.zip |
Uncomment SSL for obsidian
-rw-r--r-- | machines/t14/default.nix | 7 | ||||
-rw-r--r-- | modules/obsidian-livesync.nix | 4 |
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 = '' |