]> Git — Sourcephile - sourcephile-nix.git/blob - servers/mermet.nix
apparmor: remove references to Subdomain
[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/fail2ban.nix
22 mermet/fileSystems.nix
23 mermet/gitolite.nix
24 mermet/hardware.nix
25 mermet/knot.nix
26 #mermet/mlmmj.nix
27 mermet/networking.nix
28 mermet/nginx.nix
29 mermet/openldap.nix
30 mermet/postfix.nix
31 mermet/public-inbox.nix
32 mermet/redis.nix
33 mermet/rspamd.nix
34 mermet/sanoid.nix
35 mermet/security.nix
36 #mermet/shorewall.nix
37 mermet/system.nix
38 mermet/users.nix
39 ];
40 extraArgs = {
41 name = "mermet";
42 inherit ipv4;
43 servers = import ../servers.nix;
44 };
45 };
46 in system // {
47 inherit ipv4;
48 install = system.config.install.ssh-nixos.script;
49 }