]> Git — Sourcephile - sourcephile-nix.git/blob - hosts/losurdo.nix
coturn: quiet logs
[sourcephile-nix.git] / hosts / losurdo.nix
1 # NixOS configuration of losurdo.sourcephile.fr
2 # Domenico Losurdo (1941-2018), historian for the working class
3 # https://www.monde-diplomatique.fr/2018/10/FONDU/59128
4 { inputs, ... }:
5 {
6 system = "x86_64-linux";
7 #config.allowUnfree = true;
8 extraArgs = {
9 CPUs = 2;
10 wireguard = rec {
11 wg-intra = {
12 ipv4 = "192.168.42.2";
13 listenPort = 43642;
14 #listenPort = null;
15 persistentKeepalive = 25;
16 peer = {
17 publicKey = "xsFFep3k8z0pXgUOz4aryOF8l/KPBSOd4WQA26BkXy0=";
18 allowedIPs = [ "${wg-intra.ipv4}/32" ];
19 };
20 };
21 };
22 };
23 modules = [
24 ../nixos/defaults.nix
25 losurdo/acme.nix
26 #losurdo/apc.nix
27 losurdo/debug.nix
28 losurdo/fail2ban.nix
29 losurdo/fileSystems.nix
30 #losurdo/freeciv.nix
31 losurdo/gitolite.nix
32 losurdo/hardware.nix
33 losurdo/networking.nix
34 losurdo/nginx.nix
35 #losurdo/postgresql.nix
36 losurdo/sanoid.nix
37 losurdo/security.nix
38 losurdo/syncoid.nix
39 losurdo/system.nix
40 losurdo/transmission.nix
41 losurdo/unbound.nix
42 losurdo/users.nix
43 (inputs.secrets + "/hosts/losurdo/users.nix")
44 ];
45 }