diff --git a/flake.lock b/flake.lock index 5b46b2c..e59ef2b 100644 --- a/flake.lock +++ b/flake.lock @@ -32,11 +32,11 @@ }, "nixpkgs_2": { "locked": { - "lastModified": 1650097359, - "narHash": "sha256-5yz+ws47yxpu2BOZr8+Ht9t44yPsb6kWz1r1eftLg0I=", + "lastModified": 1649667661, + "narHash": "sha256-9cbstidkXdAC3ZzokV6clgCoeLSbbs2tis9KFsqCzTM=", "owner": "nixos", "repo": "nixpkgs", - "rev": "70d0e2456857dc10dd7d2654277fc1dd8d8cc216", + "rev": "a48aeae76ad50bb15ad9bda2cf51d7ae5c621853", "type": "github" }, "original": { @@ -50,11 +50,11 @@ "nixpkgs": "nixpkgs_2" }, "locked": { - "lastModified": 1650035341, - "narHash": "sha256-vYtvVKRIrdOrsPKr1oVrTj7wzBKeips698TTc/e6gk4=", + "lastModified": 1650036007, + "narHash": "sha256-ybTF+wYqdjZcmidtTXPmyBpGsjdOGApDNw7ri5E6Uac=", "ref": "main", - "rev": "b6b97f649cd41a6dc19430e48a17fcb83a71f735", - "revCount": 324, + "rev": "4864d9de300f3dc3e70becc36442b1494da6a3b2", + "revCount": 325, "type": "git", "url": "ssh://gitea@git.sealight.xyz/aynish/kitaab" }, diff --git a/flake.nix b/flake.nix index 30dfb4f..b135db7 100644 --- a/flake.nix +++ b/flake.nix @@ -97,7 +97,7 @@ services.nginx.enable = true; services.nginx.virtualHosts.${serverName} = { #forceSSL = true; - #enableACME = true; + enableACME = true; locations."/" = { root = "${webRoot}${serverName}"; index = "/home.html"; }; }; }; @@ -111,9 +111,6 @@ # Only allow this to boot as a container boot.isContainer = true; networking.hostName = "basant"; - # Allow nginx through the firewall - networking.firewall.allowedTCPPorts = [ 80 ]; - services.nginx.enable = true; services."anish.lakhwara.com".enable = true; }) ];