diff options
author | Alex Auvolat <alex@adnab.me> | 2022-04-19 22:03:58 +0200 |
---|---|---|
committer | Alex Auvolat <alex@adnab.me> | 2022-04-19 22:03:58 +0200 |
commit | db081fad0e3b3933ca963fae085fd0c5c0764f80 (patch) | |
tree | dbd3850beeed0b1b8b53a48f3f19c4a73dc64c59 /nix/configuration.nix | |
parent | 9ff81afd7ea75c583adaef3a49e9b28b45185d99 (diff) | |
download | nixcfg-db081fad0e3b3933ca963fae085fd0c5c0764f80.tar.gz nixcfg-db081fad0e3b3933ca963fae085fd0c5c0764f80.zip |
First working Wesher configuration
Diffstat (limited to 'nix/configuration.nix')
-rw-r--r-- | nix/configuration.nix | 8 |
1 files changed, 8 insertions, 0 deletions
diff --git a/nix/configuration.nix b/nix/configuration.nix index 2255d7d..8af35e9 100644 --- a/nix/configuration.nix +++ b/nix/configuration.nix @@ -11,6 +11,8 @@ ./hardware-configuration.nix # Include generic Deuxfleurs module ./deuxfleurs.nix + # Wesher module + ./wesher_service.nix # Configuration for this deployment (a cluster) ./cluster.nix # Configuration local for this Deuxfleurs site (set of nodes) @@ -79,6 +81,12 @@ SystemMaxUse=1G services.openssh.enable = true; services.openssh.passwordAuthentication = false; + services.wesher = { + enable = true; + join = [ "192.168.1.22" "192.168.1.23" ]; + bindAddr = config.deuxfleurs.lan_ip; # for now + }; + # ---- CONFIG FOR DEUXFLEURS CLUSTER ---- # Open ports in the firewall. |