diff options
author | makefu <github@syntax-fehler.de> | 2016-12-28 03:40:28 +0100 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-12-28 03:40:28 +0100 |
commit | c422632d0370f15d4f0b0a5ce35e79a90e49740c (patch) | |
tree | ba271e34c75085970889d62dfc76e12b4c5a1374 /lass/2configs/radio.nix | |
parent | 096d83fe893f5134be957bf6dfe3da99e038e8a5 (diff) | |
parent | 0d61093e18929e48ebfd984c1e0f2b6b1f0c6c58 (diff) |
Merge remote-tracking branch 'lass/master'
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}; + ''; } |