aboutsummaryrefslogtreecommitdiff
path: root/hosts/laurel
diff options
context:
space:
mode:
Diffstat (limited to 'hosts/laurel')
-rw-r--r--hosts/laurel/configuration.nix9
1 files changed, 9 insertions, 0 deletions
diff --git a/hosts/laurel/configuration.nix b/hosts/laurel/configuration.nix
index 08679bc..99d04e7 100644
--- a/hosts/laurel/configuration.nix
+++ b/hosts/laurel/configuration.nix
@@ -112,6 +112,15 @@
112 }; 112 };
113 }; 113 };
114 114
115 services.nginx.virtualHosts."oppi.li" = {
116 listen = [{ port = 80; addr = "0.0.0.0"; }];
117 locations."/" = {
118 tryFiles = "$uri $uri/ =404";
119 root = "/home/op/site/docs";
120 index = "index.html";
121 };
122 };
123
115 nix.settings.experimental-features = [ "nix-command" "flakes" ]; 124 nix.settings.experimental-features = [ "nix-command" "flakes" ];
116 125
117 # This option defines the first version of NixOS you have installed on this particular machine, 126 # This option defines the first version of NixOS you have installed on this particular machine,