diff options
author | lassulus <lass@lassul.us> | 2016-12-26 14:18:08 +0100 |
---|---|---|
committer | lassulus <lass@lassul.us> | 2016-12-26 14:18:08 +0100 |
commit | b9e3b93105d4214de43ee596adff7cf661311780 (patch) | |
tree | abff4b7c7ca29266c787fc37dc7f6bef2bd2ce26 /lass/2configs/radio.nix | |
parent | 0f34276090f804b7eed2bf45a0804a69fbe8ae35 (diff) |
l: krebs.nginx -> services.nginx
Diffstat (limited to 'lass/2configs/radio.nix')
-rw-r--r-- | lass/2configs/radio.nix | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/lass/2configs/radio.nix b/lass/2configs/radio.nix index 88e826683..18574471e 100644 --- a/lass/2configs/radio.nix +++ b/lass/2configs/radio.nix @@ -156,7 +156,7 @@ in { }) ]; }; - krebs.nginx.servers."lassul.us".locations = let + services.nginx.virtualHosts."lassul.us".locations."/the_playlist".extraConfig = let html = pkgs.writeText "index.html" '' <!DOCTYPE html> <html lang="en"> @@ -175,10 +175,8 @@ in { </body> </html> ''; - in [ - (nameValuePair "/the_playlist" '' - default_type "text/html"; - alias ${html}; - '') - ]; + in '' + default_type "text/html"; + alias ${html}; + ''; } |