]> Git — Sourcephile - sourcephile-nix.git/blob - machines/losurdo.nix
nix: update to latest nixpkgs
[sourcephile-nix.git] / machines / 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 wireguard = rec {
10 wg-intra = {
11 ipv4 = "192.168.42.2";
12 listenPort = 43642;
13 #listenPort = null;
14 persistentKeepalive = 25;
15 peer = {
16 publicKey = "xsFFep3k8z0pXgUOz4aryOF8l/KPBSOd4WQA26BkXy0=";
17 allowedIPs = [ "${wg-intra.ipv4}/32" ];
18 };
19 };
20 };
21 };
22 modules = [
23 ../nixos/defaults.nix
24 losurdo/acme.nix
25 #losurdo/apc.nix
26 losurdo/debug.nix
27 losurdo/fail2ban.nix
28 losurdo/fileSystems.nix
29 losurdo/freeciv.nix
30 losurdo/hardware.nix
31 losurdo/networking.nix
32 losurdo/nginx.nix
33 #losurdo/postgresql.nix
34 losurdo/prosody.nix
35 (inputs.secrets + "/machines/losurdo/prosody.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 + "/machines/losurdo/users.nix")
44 ];
45 }