aboutsummaryrefslogtreecommitdiff
path: root/hosts/laurel
diff options
context:
space:
mode:
authorAkshay <[email protected]>2024-04-13 21:03:51 +0100
committerAkshay <[email protected]>2024-04-13 21:03:51 +0100
commit05edafdca5a7f216cc5b0e30e29f2a74a535ca35 (patch)
treeab7f8105093f419fb13ae7354a5d7b2a8188e306 /hosts/laurel
parent49301c4dcb29eb6eface87dc965c5c606ae913af (diff)
laurel: oppili domain
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,