diff options
author | makefu <github@syntax-fehler.de> | 2016-07-11 20:45:16 +0200 |
---|---|---|
committer | makefu <github@syntax-fehler.de> | 2016-07-11 20:45:16 +0200 |
commit | b9c2dc13d376a79bceef0829e3990544f950215d (patch) | |
tree | 1e82851719cf1a3fc49dabc5c6eb0b23a5f1d13f /makefu/1systems/darth.nix | |
parent | 393f5cb5c71d91493be05f624796f1b19bac8e58 (diff) |
m 1 darth: configure with forward-journal, share
Diffstat (limited to 'makefu/1systems/darth.nix')
-rw-r--r-- | makefu/1systems/darth.nix | 19 |
1 files changed, 18 insertions, 1 deletions
diff --git a/makefu/1systems/darth.nix b/makefu/1systems/darth.nix index 5f1d6e121..87029a693 100644 --- a/makefu/1systems/darth.nix +++ b/makefu/1systems/darth.nix @@ -16,16 +16,32 @@ in { ../2configs/smart-monitor.nix ../2configs/exim-retiolum.nix ../2configs/virtualization.nix + + ../2configs/temp-share-samba.nix ]; + services.samba.shares = { + isos = { + path = "/data/isos/"; + "read only" = "yes"; + browseable = "yes"; + "guest ok" = "yes"; + }; + }; services.tinc.networks.siem = { name = "sdarth"; extraConfig = "ConnectTo = sjump"; }; + + makefu.forward-journal = { + enable = true; + src = "10.8.10.2"; + dst = "10.8.10.6"; + }; + #networking.firewall.enable = false; krebs.retiolum.enable = true; boot.kernelModules = [ "coretemp" "f71882fg" ]; - hardware.enableAllFirmware = true; nixpkgs.config.allowUnfree = true; networking = { @@ -33,6 +49,7 @@ in { firewall = { allowPing = true; logRefusedConnections = false; + trustedInterfaces = [ "eno1" ]; allowedUDPPorts = [ 80 655 1655 67 ]; allowedTCPPorts = [ 80 655 1655 ]; }; |