diff options
author | tv <tv@krebsco.de> | 2016-07-09 13:11:05 +0200 |
---|---|---|
committer | tv <tv@krebsco.de> | 2016-07-09 13:11:05 +0200 |
commit | 91ccc70745c232834f180e3b1cfff571cd04b267 (patch) | |
tree | 02c3d5b08771493297e8cad9665ccd13e4f785de /makefu/1systems | |
parent | dd9dbb3a896d1a0f610d60509a6d02f1737bc74b (diff) | |
parent | ec183d5531455d60b4c2423d657963b496e47b4b (diff) |
Merge remote-tracking branch 'prism/master'
Diffstat (limited to 'makefu/1systems')
-rw-r--r-- | makefu/1systems/pornocauster.nix | 2 | ||||
-rw-r--r-- | makefu/1systems/wbob.nix | 45 |
2 files changed, 28 insertions, 19 deletions
diff --git a/makefu/1systems/pornocauster.nix b/makefu/1systems/pornocauster.nix index 7b6c18342..2ab030916 100644 --- a/makefu/1systems/pornocauster.nix +++ b/makefu/1systems/pornocauster.nix @@ -64,7 +64,7 @@ # configure pulseAudio to provide a HDMI sink as well networking.firewall.enable = true; - networking.firewall.allowedTCPPorts = [ 80 ]; + networking.firewall.allowedTCPPorts = [ 80 24800 ]; networking.firewall.allowedUDPPorts = [ 665 ]; krebs.build.host = config.krebs.hosts.pornocauster; diff --git a/makefu/1systems/wbob.nix b/makefu/1systems/wbob.nix index b4f7c9058..45b935af0 100644 --- a/makefu/1systems/wbob.nix +++ b/makefu/1systems/wbob.nix @@ -1,5 +1,10 @@ { config, pkgs, ... }: { + makefu.awesome = { + modkey = "Mod1"; + #TODO: integrate kiosk config into full config by templating the autostart + baseConfig = pkgs.awesomecfg.kiosk; + }; imports = [ # Include the results of the hardware scan. ../. @@ -10,6 +15,15 @@ retiolum.enable = true; build.host = config.krebs.hosts.wbob; }; + networking.firewall.allowedUDPPorts = [ 1655 ]; + networking.firewall.allowedTCPPorts = [ 1655 ]; + services.tinc.networks.siem = { + name = "display"; + extraConfig = '' + ConnectTo = sjump + Port = 1655 + ''; + }; # rt2870.bin wifi card, part of linux-unfree hardware.enableAllFirmware = true; @@ -39,23 +53,18 @@ xrandr --output HDMI2 --right-of HDMI1 ''; }; - ## TODO Awesomecfg + autostart chrome - # - #local current_screen = 1 - #awful.rules.rules = { - # { rule = { class = "chromium-browser" }, - # callback = function() - # awful.client.movetotag(tags[current_screen][1],c) - # if (current_screen == 1) then - # current_screen = current_screen+1 - # else - # current_screen = current_screen-1 - # end - # end - # }, - #} - #awful.util.spawn_with_shell("chromium --new-window --kiosk http://wolf:3000/dashboard/db/soc-critical-values") - # prevent Race Condition - #awful.util.spawn_with_shell("sleep 0.5;chromium --new-window --kiosk http://wolf:3000/dashboard/db/aralast") + # TODO: update synergy package with these extras (username) + # TODO: add crypto layer + systemd.services."synergy-client" = { + environment.DISPLAY = ":0"; + serviceConfig.User = "makefu"; + }; + services.synergy = { + client = { + enable = true; + screenName = "wbob"; + serverAddress = "pornocauster.r"; + }; + }; } |