]> Git — Sourcephile - sourcephile-nix.git/blob - servers/mermet.nix
nftables: replace shorewall on mermet too
[sourcephile-nix.git] / servers / mermet.nix
1 # NixOS configuration of mermet.sourcephile.fr
2 #
3 # Show configuration options with, for example:
4 # nix-instantiate servers/mermet.nix --eval -A config.networking.hostName
5 # or:
6 # nix eval servers.mermet.config.networking.hostName
7 # Install/upgrade with:
8 # nix run install -f servers/mermet.nix
9 # or:
10 # nix run servers.mermet.install
11 let
12 ipv4 = "80.67.180.129";
13 system = import <nixpkgs/nixos/lib/eval-config.nix> {
14 system = "x86_64-linux";
15 modules = [
16 ../nixos/defaults.nix
17 ../nixos/profiles/services/unbound.nix
18 mermet/acme.nix
19 mermet/debug.nix
20 mermet/dovecot.nix
21 mermet/fileSystems.nix
22 mermet/gitolite.nix
23 mermet/hardware.nix
24 mermet/knot.nix
25 #mermet/mlmmj.nix
26 mermet/networking.nix
27 mermet/nginx.nix
28 mermet/openldap.nix
29 mermet/postfix.nix
30 mermet/public-inbox.nix
31 mermet/redis.nix
32 mermet/rspamd.nix
33 mermet/sanoid.nix
34 mermet/security.nix
35 #mermet/shorewall.nix
36 mermet/system.nix
37 mermet/users.nix
38 ];
39 extraArgs = {
40 name = "mermet";
41 inherit ipv4;
42 servers = import ../servers.nix;
43 };
44 };
45 in system // {
46 inherit ipv4;
47 install = system.config.install.ssh-nixos.script;
48 }