summaryrefslogtreecommitdiffstats
path: root/tv/2configs/nginx
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2022-12-09 01:31:56 +0100
committertv <tv@krebsco.de>2022-12-09 01:34:31 +0100
commit6d64096cd99db27357bf2d038bdfdfc2d3a3aeae (patch)
treee1361555d8e32ec72ea2170852be432d347b381e /tv/2configs/nginx
parente56f5d7e61e46852ebe1b4904d6f4085091bd469 (diff)
tv: normalize lib imports
Diffstat (limited to 'tv/2configs/nginx')
-rw-r--r--tv/2configs/nginx/default.nix7
l---------tv/2configs/nginx/lib1
-rw-r--r--tv/2configs/nginx/public_html.nix7
3 files changed, 5 insertions, 10 deletions
diff --git a/tv/2configs/nginx/default.nix b/tv/2configs/nginx/default.nix
index efea3a844..6844df99b 100644
--- a/tv/2configs/nginx/default.nix
+++ b/tv/2configs/nginx/default.nix
@@ -1,8 +1,5 @@
-{ config, lib, ... }:
-
-with import <stockholm/lib>;
-
-{
+with import ./lib;
+{ config, ... }: {
services.nginx = {
enableReload = true;
diff --git a/tv/2configs/nginx/lib b/tv/2configs/nginx/lib
new file mode 120000
index 000000000..dc598c56d
--- /dev/null
+++ b/tv/2configs/nginx/lib
@@ -0,0 +1 @@
+../lib \ No newline at end of file
diff --git a/tv/2configs/nginx/public_html.nix b/tv/2configs/nginx/public_html.nix
index 43d7189ef..c2403cd8d 100644
--- a/tv/2configs/nginx/public_html.nix
+++ b/tv/2configs/nginx/public_html.nix
@@ -1,8 +1,5 @@
-{ config, lib, ... }:
-
-with import <stockholm/lib>;
-
-{
+with import ./lib;
+{ config, ... }: {
services.nginx = {
enable = true;
virtualHosts.default = {