diff options
author | lassulus <lassulus@lassul.us> | 2022-12-12 16:45:39 +0100 |
---|---|---|
committer | lassulus <lassulus@lassul.us> | 2022-12-12 16:45:39 +0100 |
commit | 4888137a5af2a664a6c2177a2d4edadd7c0b9007 (patch) | |
tree | 679b6153f2252d80104183674513ab293fb8eb8b /tv/2configs/nginx | |
parent | 53a1daa4f282c5df91e3d73b215a1ed01afc312e (diff) | |
parent | 85a3bb5d299785b8eff38390683f3c9f3fa73e3c (diff) |
Merge remote-tracking branch 'ni/master'
Diffstat (limited to 'tv/2configs/nginx')
-rw-r--r-- | tv/2configs/nginx/default.nix | 7 | ||||
-rw-r--r-- | tv/2configs/nginx/krebs-pages.nix | 13 | ||||
l--------- | tv/2configs/nginx/lib | 1 | ||||
-rw-r--r-- | tv/2configs/nginx/public_html.nix | 7 |
4 files changed, 5 insertions, 23 deletions
diff --git a/tv/2configs/nginx/default.nix b/tv/2configs/nginx/default.nix index efea3a8..6844df9 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/krebs-pages.nix b/tv/2configs/nginx/krebs-pages.nix deleted file mode 100644 index 4dd643d..0000000 --- a/tv/2configs/nginx/krebs-pages.nix +++ /dev/null @@ -1,13 +0,0 @@ -{ config, pkgs, ... }: -{ - services.nginx = { - virtualHosts.krebs-pages = { - serverAliases = [ - "krebs.${config.krebs.build.host.name}.r" - ]; - extraConfig = '' - root ${pkgs.krebs-pages}; - ''; - }; - }; -} diff --git a/tv/2configs/nginx/lib b/tv/2configs/nginx/lib new file mode 120000 index 0000000..dc598c5 --- /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 43d7189..c2403cd 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 = { |