diff options
author | lassulus <lass@aidsballs.de> | 2016-06-25 18:38:30 +0200 |
---|---|---|
committer | lassulus <lass@aidsballs.de> | 2016-06-25 18:39:08 +0200 |
commit | 2b74d0defdc3c97ffa5e1f18a5e86637f208d7cb (patch) | |
tree | 1bf34706c2ecdc1daf728132456f5ec8a1c444e5 /lass/2configs/realwallpaper-server.nix | |
parent | 6d1a29522a136adcfb3a5cfdd39cd0cdda0a794f (diff) |
l: cleanup
Diffstat (limited to 'lass/2configs/realwallpaper-server.nix')
-rw-r--r-- | lass/2configs/realwallpaper-server.nix | 32 |
1 files changed, 0 insertions, 32 deletions
diff --git a/lass/2configs/realwallpaper-server.nix b/lass/2configs/realwallpaper-server.nix deleted file mode 100644 index 7340fc7ca..000000000 --- a/lass/2configs/realwallpaper-server.nix +++ /dev/null @@ -1,32 +0,0 @@ -{ config, lib, ... }: - -let - hostname = config.krebs.build.host.name; - inherit (lib) - nameValuePair - ; - -in { - imports = [ - ./realwallpaper.nix - ]; - - krebs.nginx.servers.wallpaper = { - server-names = [ - hostname - ]; - locations = [ - (nameValuePair "/wallpaper.png" '' - root /tmp/; - '') - ]; - }; - - krebs.iptables = { - tables = { - filter.INPUT.rules = [ - { predicate = "-i retiolum -p tcp --dport 80"; target = "ACCEPT"; } - ]; - }; - }; -} |